pub struct XDLMSContextInfo {
pub conformance: Vec<u8>,
pub max_receive_pdu_size: u16,
pub max_send_pdu_size: u16,
pub dlms_version_number: u8,
pub quality_of_service: i8,
pub cyphering_info: Vec<u8>,
}Expand description
xDLMS-context-type — structure { conformance, max_receive_pdu_size, … }
Used in Association LN attr 5.
Fields§
§conformance: Vec<u8>Conformance block (bit-string).
max_receive_pdu_size: u16Maximum receive PDU size in bytes.
max_send_pdu_size: u16Maximum send PDU size in bytes.
dlms_version_number: u8DLMS version number.
quality_of_service: i8Quality of service (-1 = default).
cyphering_info: Vec<u8>Cyphering info (octet-string).
Trait Implementations§
Source§impl Clone for XDLMSContextInfo
impl Clone for XDLMSContextInfo
Source§fn clone(&self) -> XDLMSContextInfo
fn clone(&self) -> XDLMSContextInfo
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 XDLMSContextInfo
impl Debug for XDLMSContextInfo
Source§impl<'de> Deserialize<'de> for XDLMSContextInfo
impl<'de> Deserialize<'de> for XDLMSContextInfo
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
impl Eq for XDLMSContextInfo
Source§impl From<XDLMSContextInfo> for CosemDataType
impl From<XDLMSContextInfo> for CosemDataType
Source§fn from(ctx: XDLMSContextInfo) -> Self
fn from(ctx: XDLMSContextInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for XDLMSContextInfo
impl PartialEq for XDLMSContextInfo
Source§impl Serialize for XDLMSContextInfo
impl Serialize for XDLMSContextInfo
impl StructuralPartialEq for XDLMSContextInfo
Source§impl TryFrom<&CosemDataType> for XDLMSContextInfo
impl TryFrom<&CosemDataType> for XDLMSContextInfo
Auto Trait Implementations§
impl Freeze for XDLMSContextInfo
impl RefUnwindSafe for XDLMSContextInfo
impl Send for XDLMSContextInfo
impl Sync for XDLMSContextInfo
impl Unpin for XDLMSContextInfo
impl UnsafeUnpin for XDLMSContextInfo
impl UnwindSafe for XDLMSContextInfo
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