pub struct IecLocalPortSetupAttrs {
pub logical_name: LogicalName,
pub mode: u8,
pub communication_speed: u8,
pub max_size_info_field: u16,
pub device_address: Vec<u8>,
pub password1: Vec<u8>,
pub password2: Vec<u8>,
pub password3: Vec<u8>,
pub client_address: Vec<u8>,
pub point_to_point_address: Vec<u8>,
}Expand description
IEC local port setup class (class_id = 19) attributes.
- attr 1: logical_name (octet-string)
- attr 2: mode (enum)
- attr 3: communication_speed (unsigned)
- attr 4: max_size_info_field (long-unsigned)
- attr 5: device_address (octet-string)
- attr 6: password1 (octet-string)
- attr 7: password2 (octet-string)
- attr 8: password3 (octet-string)
- attr 9: client_address (octet-string)
- attr 10: point_to_point_address (octet-string)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
mode: u8Communication mode (attribute 2).
communication_speed: u8Communication speed (attribute 3).
max_size_info_field: u16Maximum info field size (attribute 4).
device_address: Vec<u8>Device address (attribute 5).
password1: Vec<u8>Password 1 (attribute 6).
password2: Vec<u8>Password 2 (attribute 7).
password3: Vec<u8>Password 3 (attribute 8).
client_address: Vec<u8>Client address (attribute 9).
point_to_point_address: Vec<u8>Point-to-point address (attribute 10).
Trait Implementations§
Source§impl Clone for IecLocalPortSetupAttrs
impl Clone for IecLocalPortSetupAttrs
Source§fn clone(&self) -> IecLocalPortSetupAttrs
fn clone(&self) -> IecLocalPortSetupAttrs
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 IecLocalPortSetupAttrs
impl Debug for IecLocalPortSetupAttrs
Source§impl<'de> Deserialize<'de> for IecLocalPortSetupAttrs
impl<'de> Deserialize<'de> for IecLocalPortSetupAttrs
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 IecLocalPortSetupAttrs
impl RefUnwindSafe for IecLocalPortSetupAttrs
impl Send for IecLocalPortSetupAttrs
impl Sync for IecLocalPortSetupAttrs
impl Unpin for IecLocalPortSetupAttrs
impl UnsafeUnpin for IecLocalPortSetupAttrs
impl UnwindSafe for IecLocalPortSetupAttrs
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