pub struct IecHdlcSetupConfig {
pub logical_name: ObisCode,
pub version: u8,
pub comm_speed: u8,
pub window_size_transmit: u8,
pub window_size_receive: u8,
pub max_info_field_length_transmit: u16,
pub max_info_field_length_receive: u16,
pub inter_octet_time_out: u16,
pub inactivity_time_out: u16,
pub device_address: u16,
}Expand description
Configuration structure used to build an IecHdlcSetup object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
version: u8Class version: 0 or 1. In version 0 attributes 5 and 6 are unsigned;
in version 1 they are long-unsigned (wider maximum info field length).
comm_speed: u8Attribute 2: communication speed (enum).
window_size_transmit: u8Attribute 3: transmit window size.
window_size_receive: u8Attribute 4: receive window size.
max_info_field_length_transmit: u16Attribute 5: maximum transmit info field length.
max_info_field_length_receive: u16Attribute 6: maximum receive info field length.
inter_octet_time_out: u16Attribute 7: inter-octet time-out, in milliseconds.
inactivity_time_out: u16Attribute 8: inactivity time-out, in seconds.
device_address: u16Attribute 9: HDLC device (physical) address.
Trait Implementations§
Source§impl Clone for IecHdlcSetupConfig
impl Clone for IecHdlcSetupConfig
Source§fn clone(&self) -> IecHdlcSetupConfig
fn clone(&self) -> IecHdlcSetupConfig
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 IecHdlcSetupConfig
impl Debug for IecHdlcSetupConfig
Source§impl<'de> Deserialize<'de> for IecHdlcSetupConfig
impl<'de> Deserialize<'de> for IecHdlcSetupConfig
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 IecHdlcSetupConfig
impl RefUnwindSafe for IecHdlcSetupConfig
impl Send for IecHdlcSetupConfig
impl Sync for IecHdlcSetupConfig
impl Unpin for IecHdlcSetupConfig
impl UnsafeUnpin for IecHdlcSetupConfig
impl UnwindSafe for IecHdlcSetupConfig
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