pub struct TcpUdpSetupAttrs {
pub logical_name: LogicalName,
pub port: u16,
pub tcp_udp_protocol: Vec<u8>,
pub ip_reference: Vec<u8>,
pub maximum_simultaneous_connections: u16,
pub maximum_segment_size: u16,
pub inactivity_timeout: u16,
pub transport_security: u8,
pub password_setup: Vec<u8>,
pub password: Vec<u8>,
pub default_password_status: u8,
}Expand description
TCP-UDP setup class (class_id = 41) attributes.
- attr 1: logical_name (octet-string)
- attr 2: port (long-unsigned)
- attr 3: tcp-udp_protocol (octet-string)
- attr 4: ip_reference (octet-string)
- attr 5: maximum_simultaneous_connections (long-unsigned)
- attr 6: maximum_segment_size (long-unsigned)
- attr 7: inactivity_timeout (long-unsigned)
- attr 8: transport_security (enum)
- attr 9: password_setup (octet-string)
- attr 10: password (visible-string)
- attr 11: default_password_status (enum)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
port: u16Port number (attribute 2).
tcp_udp_protocol: Vec<u8>TCP/UDP protocol type (attribute 3).
ip_reference: Vec<u8>IP reference logical name (attribute 4).
maximum_simultaneous_connections: u16Maximum simultaneous connections (attribute 5).
maximum_segment_size: u16Maximum segment size (attribute 6).
inactivity_timeout: u16Inactivity timeout in seconds (attribute 7).
transport_security: u8Transport security mode (attribute 8).
password_setup: Vec<u8>Password setup reference (attribute 9).
password: Vec<u8>Password (attribute 10).
default_password_status: u8Default password status (attribute 11).
Trait Implementations§
Source§impl Clone for TcpUdpSetupAttrs
impl Clone for TcpUdpSetupAttrs
Source§fn clone(&self) -> TcpUdpSetupAttrs
fn clone(&self) -> TcpUdpSetupAttrs
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 TcpUdpSetupAttrs
impl Debug for TcpUdpSetupAttrs
Source§impl<'de> Deserialize<'de> for TcpUdpSetupAttrs
impl<'de> Deserialize<'de> for TcpUdpSetupAttrs
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 TcpUdpSetupAttrs
impl RefUnwindSafe for TcpUdpSetupAttrs
impl Send for TcpUdpSetupAttrs
impl Sync for TcpUdpSetupAttrs
impl Unpin for TcpUdpSetupAttrs
impl UnsafeUnpin for TcpUdpSetupAttrs
impl UnwindSafe for TcpUdpSetupAttrs
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