pub struct RegisterMonitorAttrs {
pub logical_name: LogicalName,
pub thresholds: Vec<Choice>,
}Expand description
Register monitor class (class_id = 21) attributes.
- attr 1: logical_name (octet-string)
- attr 2: thresholds (array of {value, script})
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
thresholds: Vec<Choice>Threshold definitions (attribute 2).
Trait Implementations§
Source§impl Clone for RegisterMonitorAttrs
impl Clone for RegisterMonitorAttrs
Source§fn clone(&self) -> RegisterMonitorAttrs
fn clone(&self) -> RegisterMonitorAttrs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegisterMonitorAttrs
impl Debug for RegisterMonitorAttrs
Source§impl<'de> Deserialize<'de> for RegisterMonitorAttrs
impl<'de> Deserialize<'de> for RegisterMonitorAttrs
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
Auto Trait Implementations§
impl Freeze for RegisterMonitorAttrs
impl RefUnwindSafe for RegisterMonitorAttrs
impl Send for RegisterMonitorAttrs
impl Sync for RegisterMonitorAttrs
impl Unpin for RegisterMonitorAttrs
impl UnsafeUnpin for RegisterMonitorAttrs
impl UnwindSafe for RegisterMonitorAttrs
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