#[non_exhaustive]pub struct WirelessDeviceLogOptionBuilder { /* private fields */ }Expand description
A builder for WirelessDeviceLogOption.
Implementations§
source§impl WirelessDeviceLogOptionBuilder
impl WirelessDeviceLogOptionBuilder
sourcepub fn type(self, input: WirelessDeviceType) -> Self
pub fn type(self, input: WirelessDeviceType) -> Self
The wireless device type.
sourcepub fn set_type(self, input: Option<WirelessDeviceType>) -> Self
pub fn set_type(self, input: Option<WirelessDeviceType>) -> Self
The wireless device type.
sourcepub fn get_type(&self) -> &Option<WirelessDeviceType>
pub fn get_type(&self) -> &Option<WirelessDeviceType>
The wireless device type.
sourcepub fn log_level(self, input: LogLevel) -> Self
pub fn log_level(self, input: LogLevel) -> Self
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 set_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_log_level(self, input: Option<LogLevel>) -> Self
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 get_log_level(&self) -> &Option<LogLevel>
pub fn get_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, input: WirelessDeviceEventLogOption) -> Self
pub fn events(self, input: WirelessDeviceEventLogOption) -> Self
Appends an item to events.
To override the contents of this collection use set_events.
The list of wireless device event log options.
sourcepub fn set_events(
self,
input: Option<Vec<WirelessDeviceEventLogOption>>
) -> Self
pub fn set_events( self, input: Option<Vec<WirelessDeviceEventLogOption>> ) -> Self
The list of wireless device event log options.
sourcepub fn get_events(&self) -> &Option<Vec<WirelessDeviceEventLogOption>>
pub fn get_events(&self) -> &Option<Vec<WirelessDeviceEventLogOption>>
The list of wireless device event log options.
sourcepub fn build(self) -> WirelessDeviceLogOption
pub fn build(self) -> WirelessDeviceLogOption
Consumes the builder and constructs a WirelessDeviceLogOption.
Trait Implementations§
source§impl Clone for WirelessDeviceLogOptionBuilder
impl Clone for WirelessDeviceLogOptionBuilder
source§fn clone(&self) -> WirelessDeviceLogOptionBuilder
fn clone(&self) -> WirelessDeviceLogOptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for WirelessDeviceLogOptionBuilder
impl Default for WirelessDeviceLogOptionBuilder
source§fn default() -> WirelessDeviceLogOptionBuilder
fn default() -> WirelessDeviceLogOptionBuilder
source§impl PartialEq<WirelessDeviceLogOptionBuilder> for WirelessDeviceLogOptionBuilder
impl PartialEq<WirelessDeviceLogOptionBuilder> for WirelessDeviceLogOptionBuilder
source§fn eq(&self, other: &WirelessDeviceLogOptionBuilder) -> bool
fn eq(&self, other: &WirelessDeviceLogOptionBuilder) -> bool
self and other values to be equal, and is used
by ==.