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

pub struct GatewayConfig {
    pub console: bool,
    pub dbus: bool,
    pub http: bool,
    pub rvi: bool,
    pub socket: bool,
    pub websocket: bool,
}

The [gateway] configuration section.

Fields

console
dbus
http
rvi
socket
websocket

Trait Implementations

impl Default for GatewayConfig
[src]

fn default() -> GatewayConfig

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

Derived Implementations

impl Clone for GatewayConfig
[src]

fn clone(&self) -> GatewayConfig

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

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

Formats the value using the given formatter.

impl Eq for GatewayConfig
[src]

impl PartialEq for GatewayConfig
[src]

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

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

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

This method tests for !=.

impl Decodable for GatewayConfig
[src]

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

Deserialize a value using a Decoder.