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