pub struct ExtendedRegisterAttrs {
pub logical_name: LogicalName,
pub value: Choice,
pub scaler_unit: ScalerUnit,
pub status: Choice,
pub capture_time: Choice,
}Expand description
Extended register class (class_id = 4) attributes.
- attr 1: logical_name (octet-string)
- attr 2: value (CHOICE)
- attr 3: scaler_unit (scal_unit_type)
- attr 4: status (CHOICE)
- attr 5: capture_time (octet-string)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
value: ChoiceAttribute value (CHOICE type, attribute 2).
scaler_unit: ScalerUnitScaler and unit (attribute 3).
status: ChoiceStatus value (CHOICE type, attribute 4).
capture_time: ChoiceCapture time (attribute 5).
Trait Implementations§
Source§impl Clone for ExtendedRegisterAttrs
impl Clone for ExtendedRegisterAttrs
Source§fn clone(&self) -> ExtendedRegisterAttrs
fn clone(&self) -> ExtendedRegisterAttrs
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 ExtendedRegisterAttrs
impl Debug for ExtendedRegisterAttrs
Source§impl<'de> Deserialize<'de> for ExtendedRegisterAttrs
impl<'de> Deserialize<'de> for ExtendedRegisterAttrs
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 ExtendedRegisterAttrs
impl RefUnwindSafe for ExtendedRegisterAttrs
impl Send for ExtendedRegisterAttrs
impl Sync for ExtendedRegisterAttrs
impl Unpin for ExtendedRegisterAttrs
impl UnsafeUnpin for ExtendedRegisterAttrs
impl UnwindSafe for ExtendedRegisterAttrs
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