pub struct MbusSlavePortSetupAttrs {
pub logical_name: LogicalName,
pub mbus_address: Vec<u8>,
pub identification_number: Vec<u8>,
pub manufacturer_id: Vec<u8>,
pub data_type: Vec<u8>,
pub max_slave_pifs: u16,
pub max_master_pifs: u16,
pub character_encoding: Vec<u8>,
pub m_bus_mode: u8,
}Expand description
M-Bus slave port setup class (class_id = 25) attributes.
- attr 1: logical_name (octet-string)
- attr 2: mbus_address (octet-string)
- attr 3: identification_number (octet-string)
- attr 4: manufacturer_id (octet-string)
- attr 5: data_type (octet-string)
- attr 6: max_slave_pifs (long-unsigned)
- attr 7: max_master_pifs (long-unsigned)
- attr 8: character_encoding (octet-string)
- attr 9: m_bus_mode (enum)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
mbus_address: Vec<u8>M-Bus slave address (attribute 2).
identification_number: Vec<u8>Identification number (attribute 3).
manufacturer_id: Vec<u8>Manufacturer ID (attribute 4).
data_type: Vec<u8>Data type (attribute 5).
max_slave_pifs: u16Max slave PI frames (attribute 6).
max_master_pifs: u16Max master PI frames (attribute 7).
character_encoding: Vec<u8>Character encoding (attribute 8).
m_bus_mode: u8M-Bus mode (attribute 9).
Trait Implementations§
Source§impl Clone for MbusSlavePortSetupAttrs
impl Clone for MbusSlavePortSetupAttrs
Source§fn clone(&self) -> MbusSlavePortSetupAttrs
fn clone(&self) -> MbusSlavePortSetupAttrs
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 MbusSlavePortSetupAttrs
impl Debug for MbusSlavePortSetupAttrs
Source§impl<'de> Deserialize<'de> for MbusSlavePortSetupAttrs
impl<'de> Deserialize<'de> for MbusSlavePortSetupAttrs
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 MbusSlavePortSetupAttrs
impl RefUnwindSafe for MbusSlavePortSetupAttrs
impl Send for MbusSlavePortSetupAttrs
impl Sync for MbusSlavePortSetupAttrs
impl Unpin for MbusSlavePortSetupAttrs
impl UnsafeUnpin for MbusSlavePortSetupAttrs
impl UnwindSafe for MbusSlavePortSetupAttrs
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