Struct sota::datatype::report::InstalledFirmware
[−]
[src]
pub struct InstalledFirmware { pub module: String, pub firmware_id: String, pub last_modified: u64, }
Encapsulates a single firmware installed on the device.
Fields
module | |
firmware_id | |
last_modified |
Trait Implementations
impl<'m> FromMessageItem<'m> for InstalledFirmware
[src]
fn from(item: &'m MessageItem) -> Result<Self, ()>
Allows converting from a MessageItem into the type it contains.
Derived Implementations
impl Eq for InstalledFirmware
[src]
impl PartialEq for InstalledFirmware
[src]
fn eq(&self, __arg_0: &InstalledFirmware) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InstalledFirmware) -> bool
This method tests for !=
.
impl Debug for InstalledFirmware
[src]
impl Clone for InstalledFirmware
[src]
fn clone(&self) -> InstalledFirmware
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 InstalledFirmware
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Decodable for InstalledFirmware
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<InstalledFirmware, __D::Error>
Deserialize a value using a Decoder
.