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

pub struct InstalledSoftware {
    pub packages: Vec<InstalledPackage>,
    pub firmwares: Vec<InstalledFirmware>,
}

An encodable list of packages and firmwares to send to RVI.

Fields

packages
firmwares

Methods

impl InstalledSoftware
[src]

fn new(packages: Vec<InstalledPackage>, firmwares: Vec<InstalledFirmware>) -> InstalledSoftware

Instantiate a new list of the software installed on the device.

Trait Implementations

impl Default for InstalledSoftware
[src]

fn default() -> Self

Returns the "default value" for a type. Read more

Derived Implementations

impl Eq for InstalledSoftware
[src]

impl PartialEq for InstalledSoftware
[src]

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

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

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

This method tests for !=.

impl Debug for InstalledSoftware
[src]

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

Formats the value using the given formatter.

impl Clone for InstalledSoftware
[src]

fn clone(&self) -> InstalledSoftware

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 InstalledSoftware
[src]

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

Serialize a value using an Encoder.

impl Decodable for InstalledSoftware
[src]

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

Deserialize a value using a Decoder.