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