pub struct DataAttrs {
pub logical_name: LogicalName,
pub value: Choice,
}Expand description
Data class (class_id = 1) attributes.
- attr 1: logical_name (octet-string)
- attr 2: value (CHOICE)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
value: ChoiceAttribute value (CHOICE type, attribute 2).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataAttrs
impl<'de> Deserialize<'de> for DataAttrs
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 DataAttrs
impl RefUnwindSafe for DataAttrs
impl Send for DataAttrs
impl Sync for DataAttrs
impl Unpin for DataAttrs
impl UnsafeUnpin for DataAttrs
impl UnwindSafe for DataAttrs
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