Struct sota::datatype::report::OperationResult [] [src]

pub struct OperationResult {
    pub id: String,
    pub result_code: UpdateResultCode,
    pub result_text: String,
}

An encodable response of the installation outcome for a particular update ID.

Fields

id
result_code
result_text

Trait Implementations

impl<'m> FromMessageItem<'m> for OperationResult
[src]

fn from(item: &'m MessageItem) -> Result<Self, ()>

Allows converting from a MessageItem into the type it contains.

Derived Implementations

impl Eq for OperationResult
[src]

impl PartialEq for OperationResult
[src]

fn eq(&self, __arg_0: &OperationResult) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &OperationResult) -> bool

This method tests for !=.

impl Debug for OperationResult
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for OperationResult
[src]

fn clone(&self) -> OperationResult

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Encodable for OperationResult
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

Serialize a value using an Encoder.

impl Decodable for OperationResult
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<OperationResult, __D::Error>

Deserialize a value using a Decoder.