pub struct ParameterMonitorConfig {
pub logical_name: ObisCode,
pub monitored_value: ValueDefinition,
pub thresholds: CosemDataType,
pub events: Vec<CosemDataType>,
pub minimal_duration: u32,
}Expand description
Configuration structure used to build a ParameterMonitor object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
monitored_value: ValueDefinitionAttribute 2: value_definition of the monitored attribute.
thresholds: CosemDataTypeAttribute 3: thresholds structure applied to the monitored value.
events: Vec<CosemDataType>Attribute 4: array of recorded monitoring events.
minimal_duration: u32Attribute 5: minimal duration (seconds) before an event is recorded.
Trait Implementations§
Source§impl Clone for ParameterMonitorConfig
impl Clone for ParameterMonitorConfig
Source§fn clone(&self) -> ParameterMonitorConfig
fn clone(&self) -> ParameterMonitorConfig
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 ParameterMonitorConfig
impl Debug for ParameterMonitorConfig
Source§impl<'de> Deserialize<'de> for ParameterMonitorConfig
impl<'de> Deserialize<'de> for ParameterMonitorConfig
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 ParameterMonitorConfig
impl RefUnwindSafe for ParameterMonitorConfig
impl Send for ParameterMonitorConfig
impl Sync for ParameterMonitorConfig
impl Unpin for ParameterMonitorConfig
impl UnsafeUnpin for ParameterMonitorConfig
impl UnwindSafe for ParameterMonitorConfig
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