#[non_exhaustive]pub struct WirelessGatewayLogOption {
    pub type: Option<WirelessGatewayType>,
    pub log_level: Option<LogLevel>,
    pub events: Option<Vec<WirelessGatewayEventLogOption>>,
}Expand description
The log options for wireless gateways and can be used to set log levels for a specific type of wireless gateway.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: Option<WirelessGatewayType>The wireless gateway type.
log_level: Option<LogLevel>The log level for a log message. The log levels can be disabled, or set to ERROR to display less verbose logs containing only error information, or to INFO for more detailed logs.
events: Option<Vec<WirelessGatewayEventLogOption>>The list of wireless gateway event log options.
Implementations§
source§impl WirelessGatewayLogOption
 
impl WirelessGatewayLogOption
sourcepub fn type(&self) -> Option<&WirelessGatewayType>
 
pub fn type(&self) -> Option<&WirelessGatewayType>
The wireless gateway type.
sourcepub fn log_level(&self) -> Option<&LogLevel>
 
pub fn log_level(&self) -> Option<&LogLevel>
The log level for a log message. The log levels can be disabled, or set to ERROR to display less verbose logs containing only error information, or to INFO for more detailed logs.
sourcepub fn events(&self) -> Option<&[WirelessGatewayEventLogOption]>
 
pub fn events(&self) -> Option<&[WirelessGatewayEventLogOption]>
The list of wireless gateway event log options.
source§impl WirelessGatewayLogOption
 
impl WirelessGatewayLogOption
sourcepub fn builder() -> WirelessGatewayLogOptionBuilder
 
pub fn builder() -> WirelessGatewayLogOptionBuilder
Creates a new builder-style object to manufacture WirelessGatewayLogOption.
Trait Implementations§
source§impl Clone for WirelessGatewayLogOption
 
impl Clone for WirelessGatewayLogOption
source§fn clone(&self) -> WirelessGatewayLogOption
 
fn clone(&self) -> WirelessGatewayLogOption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for WirelessGatewayLogOption
 
impl Debug for WirelessGatewayLogOption
source§impl PartialEq<WirelessGatewayLogOption> for WirelessGatewayLogOption
 
impl PartialEq<WirelessGatewayLogOption> for WirelessGatewayLogOption
source§fn eq(&self, other: &WirelessGatewayLogOption) -> bool
 
fn eq(&self, other: &WirelessGatewayLogOption) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for WirelessGatewayLogOption
Auto Trait Implementations§
impl RefUnwindSafe for WirelessGatewayLogOption
impl Send for WirelessGatewayLogOption
impl Sync for WirelessGatewayLogOption
impl Unpin for WirelessGatewayLogOption
impl UnwindSafe for WirelessGatewayLogOption
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more