Struct sota::datatype::config::CoreConfig [] [src]

pub struct CoreConfig {
    pub server: Url,
    pub polling: bool,
    pub polling_sec: u64,
}

The [core] configuration section.

Fields

server
polling
polling_sec

Trait Implementations

impl Default for CoreConfig
[src]

fn default() -> CoreConfig

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

Derived Implementations

impl Clone for CoreConfig
[src]

fn clone(&self) -> CoreConfig

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

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

Formats the value using the given formatter.

impl Eq for CoreConfig
[src]

impl PartialEq for CoreConfig
[src]

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

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

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

This method tests for !=.

impl Decodable for CoreConfig
[src]

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

Deserialize a value using a Decoder.