pub struct RegisterMonitorConfig {
pub logical_name: ObisCode,
pub thresholds: Vec<CosemDataType>,
pub monitored_value: ValueDefinition,
pub actions: Vec<ActionSet>,
}Expand description
Configuration structure used to build a RegisterMonitor object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
thresholds: Vec<CosemDataType>Attribute 2: array of threshold values, of the monitored attribute’s type.
monitored_value: ValueDefinitionAttribute 3: value_definition structure { class_id, logical_name, attribute_index }.
actions: Vec<ActionSet>Attribute 4: array of action_set structures paired with the thresholds.
Trait Implementations§
Source§impl Clone for RegisterMonitorConfig
impl Clone for RegisterMonitorConfig
Source§fn clone(&self) -> RegisterMonitorConfig
fn clone(&self) -> RegisterMonitorConfig
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 RegisterMonitorConfig
impl Debug for RegisterMonitorConfig
Source§impl<'de> Deserialize<'de> for RegisterMonitorConfig
impl<'de> Deserialize<'de> for RegisterMonitorConfig
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 RegisterMonitorConfig
impl RefUnwindSafe for RegisterMonitorConfig
impl Send for RegisterMonitorConfig
impl Sync for RegisterMonitorConfig
impl Unpin for RegisterMonitorConfig
impl UnsafeUnpin for RegisterMonitorConfig
impl UnwindSafe for RegisterMonitorConfig
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