pub struct DemandRegisterAttrs {
pub logical_name: LogicalName,
pub current_average_value: Choice,
pub last_average_value: Choice,
pub scaler_unit: ScalerUnit,
pub status: Choice,
pub capture_time: Choice,
pub start_time_current: Choice,
pub period: u32,
pub number_of_periods: u16,
}Expand description
Demand register class (class_id = 5) attributes.
- attr 1: logical_name (octet-string)
- attr 2: current_average_value (CHOICE)
- attr 3: last_average_value (CHOICE)
- attr 4: scaler_unit (scal_unit_type)
- attr 5: status (CHOICE)
- attr 6: capture_time (octet-string)
- attr 7: start_time_current (octet-string)
- attr 8: period (double-long-unsigned)
- attr 9: number_of_periods (long-unsigned)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
current_average_value: ChoiceCurrent average value (CHOICE type, attribute 2).
last_average_value: ChoiceLast average value (CHOICE type, attribute 3).
scaler_unit: ScalerUnitScaler and unit (attribute 4).
status: ChoiceStatus value (CHOICE type, attribute 5).
capture_time: ChoiceCapture time (attribute 6).
start_time_current: ChoiceStart time for current period (attribute 7).
period: u32Period in seconds (attribute 8).
number_of_periods: u16Number of periods (attribute 9).
Trait Implementations§
Source§impl Clone for DemandRegisterAttrs
impl Clone for DemandRegisterAttrs
Source§fn clone(&self) -> DemandRegisterAttrs
fn clone(&self) -> DemandRegisterAttrs
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 DemandRegisterAttrs
impl Debug for DemandRegisterAttrs
Source§impl<'de> Deserialize<'de> for DemandRegisterAttrs
impl<'de> Deserialize<'de> for DemandRegisterAttrs
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 DemandRegisterAttrs
impl RefUnwindSafe for DemandRegisterAttrs
impl Send for DemandRegisterAttrs
impl Sync for DemandRegisterAttrs
impl Unpin for DemandRegisterAttrs
impl UnsafeUnpin for DemandRegisterAttrs
impl UnwindSafe for DemandRegisterAttrs
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