pub struct StatusMappingEntry {
pub status_flag_id: u8,
pub status_reference: ObisCode,
}Expand description
One entry of the status_mappings attribute: a status flag mapped to the
referenced status object.
Fields§
§status_flag_id: u8The status flag identifier (bit number).
status_reference: ObisCodeLogical name of the referenced status-word object.
Trait Implementations§
Source§impl Clone for StatusMappingEntry
impl Clone for StatusMappingEntry
Source§fn clone(&self) -> StatusMappingEntry
fn clone(&self) -> StatusMappingEntry
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 StatusMappingEntry
impl Debug for StatusMappingEntry
Source§impl<'de> Deserialize<'de> for StatusMappingEntry
impl<'de> Deserialize<'de> for StatusMappingEntry
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
impl Eq for StatusMappingEntry
Source§impl From<StatusMappingEntry> for CosemDataType
impl From<StatusMappingEntry> for CosemDataType
Source§fn from(e: StatusMappingEntry) -> Self
fn from(e: StatusMappingEntry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StatusMappingEntry
impl PartialEq for StatusMappingEntry
Source§impl Serialize for StatusMappingEntry
impl Serialize for StatusMappingEntry
impl StructuralPartialEq for StatusMappingEntry
Source§impl TryFrom<&CosemDataType> for StatusMappingEntry
impl TryFrom<&CosemDataType> for StatusMappingEntry
Auto Trait Implementations§
impl Freeze for StatusMappingEntry
impl RefUnwindSafe for StatusMappingEntry
impl Send for StatusMappingEntry
impl Sync for StatusMappingEntry
impl Unpin for StatusMappingEntry
impl UnsafeUnpin for StatusMappingEntry
impl UnwindSafe for StatusMappingEntry
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