pub struct Alarm {
pub name: Option<String>,
}
Expand description
Information about an alarm.
Fields§
§name: Option<String>
The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alarm
impl<'de> Deserialize<'de> for Alarm
Source§fn 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
impl StructuralPartialEq for Alarm
Auto Trait Implementations§
impl Freeze for Alarm
impl RefUnwindSafe for Alarm
impl Send for Alarm
impl Sync for Alarm
impl Unpin for Alarm
impl UnwindSafe for Alarm
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