pub struct AssociationRequest {
pub protocol_version: Option<[u8; 2]>,
pub application_context: u8,
pub calling_ap_title: Option<Vec<u8>>,
pub sender_acse_requirements: Option<u8>,
pub mechanism_name: Option<u8>,
pub calling_authentication_value: Option<Vec<u8>>,
pub user_information: Vec<u8>,
}Expand description
An AARQ (application association request) APDU.
Fields§
§protocol_version: Option<[u8; 2]>Protocol-version BIT STRING contents ([unused-bits, bits…]), when present.
application_context: u8Application-context-name identifier (see application_context).
calling_ap_title: Option<Vec<u8>>Calling-AP-title (client system title), present when ciphering is used.
sender_acse_requirements: Option<u8>Sender-acse-requirements authentication bit (0x80 when set), when present.
mechanism_name: Option<u8>Authentication-mechanism-name identifier, present for LLS/HLS.
calling_authentication_value: Option<Vec<u8>>Calling-authentication-value (LLS password or HLS CtoS challenge).
user_information: Vec<u8>User-information: the xDLMS InitiateRequest APDU (opaque).
Implementations§
Trait Implementations§
Source§impl Clone for AssociationRequest
impl Clone for AssociationRequest
Source§fn clone(&self) -> AssociationRequest
fn clone(&self) -> AssociationRequest
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 AssociationRequest
impl Debug for AssociationRequest
Source§impl Default for AssociationRequest
impl Default for AssociationRequest
Source§fn default() -> AssociationRequest
fn default() -> AssociationRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AssociationRequest
impl PartialEq for AssociationRequest
impl StructuralPartialEq for AssociationRequest
Auto Trait Implementations§
impl Freeze for AssociationRequest
impl RefUnwindSafe for AssociationRequest
impl Send for AssociationRequest
impl Sync for AssociationRequest
impl Unpin for AssociationRequest
impl UnsafeUnpin for AssociationRequest
impl UnwindSafe for AssociationRequest
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