pub struct UtilityTablesConfig {
pub logical_name: ObisCode,
pub table_id: u16,
pub length: u32,
pub buffer: Vec<u8>,
}Expand description
Configuration structure used to build a UtilityTables object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
table_id: u16Attribute 2: table identifier (per the referenced table standard).
length: u32Attribute 3: length of the table contents in octets.
buffer: Vec<u8>Attribute 4: the encapsulated table contents.
Trait Implementations§
Source§impl Clone for UtilityTablesConfig
impl Clone for UtilityTablesConfig
Source§fn clone(&self) -> UtilityTablesConfig
fn clone(&self) -> UtilityTablesConfig
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 UtilityTablesConfig
impl Debug for UtilityTablesConfig
Source§impl<'de> Deserialize<'de> for UtilityTablesConfig
impl<'de> Deserialize<'de> for UtilityTablesConfig
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 UtilityTablesConfig
impl RefUnwindSafe for UtilityTablesConfig
impl Send for UtilityTablesConfig
impl Sync for UtilityTablesConfig
impl Unpin for UtilityTablesConfig
impl UnsafeUnpin for UtilityTablesConfig
impl UnwindSafe for UtilityTablesConfig
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