Enum cloudbbq::SettingResult
source · pub enum SettingResult {
AcknowledgeCommand {
command_id: u8,
success: bool,
},
BatteryLevel {
current_voltage: u16,
max_voltage: u16,
},
SilencePressed,
}
Expand description
A response to some command sent to the device, or a notification.
Variants§
AcknowledgeCommand
A confirmation that the given command has been received.
BatteryLevel
The current battery level of the device.
SilencePressed
A notification that the button on the device has been pressed to stop the target temperature alarm sounding.
Trait Implementations§
source§impl Clone for SettingResult
impl Clone for SettingResult
source§fn clone(&self) -> SettingResult
fn clone(&self) -> SettingResult
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 SettingResult
impl Debug for SettingResult
source§impl PartialEq<SettingResult> for SettingResult
impl PartialEq<SettingResult> for SettingResult
source§fn eq(&self, other: &SettingResult) -> bool
fn eq(&self, other: &SettingResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.