Struct sota::datatype::config::DeviceConfig
[−]
[src]
pub struct DeviceConfig { pub uuid: String, pub packages_dir: String, pub package_manager: PackageManager, pub auto_download: bool, pub certificates_path: Option<String>, pub p12_path: Option<String>, pub p12_password: String, pub system_info: Option<String>, }
The [device] configuration section.
Fields
uuid | |
packages_dir | |
package_manager | |
auto_download | |
certificates_path | |
p12_path | |
p12_password | |
system_info |
Trait Implementations
impl Default for DeviceConfig
[src]
fn default() -> DeviceConfig
Returns the "default value" for a type. Read more
Derived Implementations
impl Clone for DeviceConfig
[src]
fn clone(&self) -> DeviceConfig
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 DeviceConfig
[src]
impl Eq for DeviceConfig
[src]
impl PartialEq for DeviceConfig
[src]
fn eq(&self, __arg_0: &DeviceConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeviceConfig) -> bool
This method tests for !=
.
impl Decodable for DeviceConfig
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<DeviceConfig, __D::Error>
Deserialize a value using a Decoder
.