Struct sota::datatype::request::DownloadFailed [] [src]

pub struct DownloadFailed {
    pub update_id: String,
    pub reason: String,
}

A notification to an external package manager that the package download failed.

Fields

update_id
reason

Trait Implementations

Derived Implementations

impl Clone for DownloadFailed
[src]

fn clone(&self) -> DownloadFailed

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 Debug for DownloadFailed
[src]

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

Formats the value using the given formatter.

impl Eq for DownloadFailed
[src]

impl PartialEq for DownloadFailed
[src]

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

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

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

This method tests for !=.

impl Encodable for DownloadFailed
[src]

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

Serialize a value using an Encoder.

impl Decodable for DownloadFailed
[src]

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

Deserialize a value using a Decoder.