#[non_exhaustive]pub struct OtnTrigger {
pub identifier: String,
pub hold_time: Option<String>,
pub ignore: bool,
}Expand description
A trigger <identifier> (hold-time <value> | ignore).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.identifier: StringThe alarm, e.g. "odu-ais".
hold_time: Option<String>§ignore: boolTrait Implementations§
Source§impl Clone for OtnTrigger
impl Clone for OtnTrigger
Source§impl Debug for OtnTrigger
impl Debug for OtnTrigger
impl Eq for OtnTrigger
Source§impl PartialEq for OtnTrigger
impl PartialEq for OtnTrigger
impl StructuralPartialEq for OtnTrigger
Auto Trait Implementations§
impl Forget for OtnTrigger
impl Freeze for OtnTrigger
impl Move for OtnTrigger
impl RefUnwindSafe for OtnTrigger
impl Send for OtnTriggerwhere
RawVecInner: Send,
impl Sync for OtnTriggerwhere
RawVecInner: Sync,
impl Unpin for OtnTrigger
impl UnsafeUnpin for OtnTrigger
impl UnwindSafe for OtnTriggerwhere
RawVecInner: UnwindSafe,
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