pub enum Alarm {
Off,
On,
}
Variants
Off
On
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Alarm
impl<'de> Deserialize<'de> for Alarm
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Alarm> for Alarm
impl PartialEq<Alarm> for Alarm
impl Eq for Alarm
impl StructuralEq for Alarm
impl StructuralPartialEq for Alarm
Auto Trait Implementations
impl RefUnwindSafe for Alarm
impl Send for Alarm
impl Sync for Alarm
impl Unpin for Alarm
impl UnwindSafe for Alarm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more