pub struct AssociationResponse {
pub protocol_version: Option<[u8; 2]>,
pub application_context: u8,
pub result: u8,
pub diagnostic: u8,
pub diagnostic_is_provider: bool,
pub responding_ap_title: Option<Vec<u8>>,
pub mechanism_name: Option<u8>,
pub responding_authentication_value: Option<Vec<u8>>,
pub user_information: Vec<u8>,
}Expand description
An AARE (application association response) APDU.
Fields§
§protocol_version: Option<[u8; 2]>Protocol-version BIT STRING contents, when present.
application_context: u8Application-context-name identifier.
result: u8Association result (see result).
diagnostic: u8Result source diagnostic value.
diagnostic_is_provider: boolWhen true, diagnostic is acse-service-provider ([2]); otherwise user ([1]).
responding_ap_title: Option<Vec<u8>>Responding-AP-title (server system title), present with ciphering.
mechanism_name: Option<u8>Mechanism-name echoed for HLS (IMPLICIT OID last arc).
responding_authentication_value: Option<Vec<u8>>Responding-authentication-value (HLS StoC challenge).
user_information: Vec<u8>User-information: the xDLMS InitiateResponse APDU (opaque).
Implementations§
Trait Implementations§
Source§impl Clone for AssociationResponse
impl Clone for AssociationResponse
Source§fn clone(&self) -> AssociationResponse
fn clone(&self) -> AssociationResponse
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 AssociationResponse
impl Debug for AssociationResponse
Source§impl Default for AssociationResponse
impl Default for AssociationResponse
Source§fn default() -> AssociationResponse
fn default() -> AssociationResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for AssociationResponse
impl PartialEq for AssociationResponse
impl StructuralPartialEq for AssociationResponse
Auto Trait Implementations§
impl Freeze for AssociationResponse
impl RefUnwindSafe for AssociationResponse
impl Send for AssociationResponse
impl Sync for AssociationResponse
impl Unpin for AssociationResponse
impl UnsafeUnpin for AssociationResponse
impl UnwindSafe for AssociationResponse
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