pub struct RegisterTableConfig {
pub logical_name: ObisCode,
pub table_cell_values: Vec<CosemDataType>,
pub table_cell_definition: CosemDataType,
pub scaler_unit: ScalerUnit,
}Expand description
Configuration structure used to build a RegisterTable object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
table_cell_values: Vec<CosemDataType>Attribute 2: the table cell values.
table_cell_definition: CosemDataTypeAttribute 3: table_cell_definition structure describing the cells.
scaler_unit: ScalerUnitAttribute 4: scaler_unit applied to every cell value.
Trait Implementations§
Source§impl Clone for RegisterTableConfig
impl Clone for RegisterTableConfig
Source§fn clone(&self) -> RegisterTableConfig
fn clone(&self) -> RegisterTableConfig
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 RegisterTableConfig
impl Debug for RegisterTableConfig
Source§impl<'de> Deserialize<'de> for RegisterTableConfig
impl<'de> Deserialize<'de> for RegisterTableConfig
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 RegisterTableConfig
impl RefUnwindSafe for RegisterTableConfig
impl Send for RegisterTableConfig
impl Sync for RegisterTableConfig
impl Unpin for RegisterTableConfig
impl UnsafeUnpin for RegisterTableConfig
impl UnwindSafe for RegisterTableConfig
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