pub struct StatusMappingConfig {
pub logical_name: ObisCode,
pub status_mappings: Vec<StatusMappingEntry>,
}Expand description
Configuration structure used to build a StatusMapping object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
status_mappings: Vec<StatusMappingEntry>Attribute 2: array of status mappings.
Trait Implementations§
Source§impl Clone for StatusMappingConfig
impl Clone for StatusMappingConfig
Source§fn clone(&self) -> StatusMappingConfig
fn clone(&self) -> StatusMappingConfig
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 StatusMappingConfig
impl Debug for StatusMappingConfig
Source§impl<'de> Deserialize<'de> for StatusMappingConfig
impl<'de> Deserialize<'de> for StatusMappingConfig
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 StatusMappingConfig
impl RefUnwindSafe for StatusMappingConfig
impl Send for StatusMappingConfig
impl Sync for StatusMappingConfig
impl Unpin for StatusMappingConfig
impl UnsafeUnpin for StatusMappingConfig
impl UnwindSafe for StatusMappingConfig
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