#[non_exhaustive]pub struct WirelessDeviceEventLogOption {
pub event: Option<WirelessDeviceEvent>,
pub log_level: Option<LogLevel>,
}Expand description
The log options for a wireless device event and can be used to set log levels for a specific wireless device event.
For a LoRaWAN device, possible events for a log messsage are: Join, Rejoin, Downlink_Data, and Uplink_Data. For a Sidewalk device, possible events for a log message are Registration, Downlink_Data, and Uplink_Data.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.event: Option<WirelessDeviceEvent>The event for a log message, if the log message is tied to a wireless device.
log_level: Option<LogLevel>The log level for a log message.
Implementations
Creates a new builder-style object to manufacture WirelessDeviceEventLogOption
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for WirelessDeviceEventLogOption
impl Sync for WirelessDeviceEventLogOption
impl Unpin for WirelessDeviceEventLogOption
impl UnwindSafe for WirelessDeviceEventLogOption
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
