pub struct AlarmMetadata {
pub active: bool,
pub low_alarm_limit: f64,
pub low_warning_limit: f64,
pub high_warning_limit: f64,
pub high_alarm_limit: f64,
pub low_alarm_severity: AlarmSeverity,
pub low_warning_severity: AlarmSeverity,
pub high_warning_severity: AlarmSeverity,
pub high_alarm_severity: AlarmSeverity,
pub hysteresis: u8,
}Expand description
Alarm metadata for NTScalar
Fields§
§active: bool§low_alarm_limit: f64§low_warning_limit: f64§high_warning_limit: f64§high_alarm_limit: f64§low_alarm_severity: AlarmSeverity§low_warning_severity: AlarmSeverity§high_warning_severity: AlarmSeverity§high_alarm_severity: AlarmSeverity§hysteresis: u8Trait Implementations§
Source§impl Clone for AlarmMetadata
impl Clone for AlarmMetadata
Source§fn clone(&self) -> AlarmMetadata
fn clone(&self) -> AlarmMetadata
Returns a duplicate 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 AlarmMetadata
impl Debug for AlarmMetadata
Source§impl Default for AlarmMetadata
impl Default for AlarmMetadata
Source§fn default() -> AlarmMetadata
fn default() -> AlarmMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlarmMetadata
impl RefUnwindSafe for AlarmMetadata
impl Send for AlarmMetadata
impl Sync for AlarmMetadata
impl Unpin for AlarmMetadata
impl UnsafeUnpin for AlarmMetadata
impl UnwindSafe for AlarmMetadata
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