pub struct AssociationLnAttrs {
pub logical_name: LogicalName,
pub object_list: Vec<Choice>,
pub associated_partners_id: Choice,
pub application_context_name: Choice,
pub xdlms_context_info: Choice,
pub authentication_mechanism_name: u8,
pub secret: Vec<u8>,
pub association_status: AssociationStatus,
pub security_setup_reference: Option<ObisCode>,
pub user_list: Vec<Choice>,
pub current_user: Option<Choice>,
}Expand description
Association LN class (class_id = 15) attributes.
- attr 1: logical_name (octet-string)
- attr 2: object_list (object_list_type)
- attr 3: associated_partners_id (associated_partners_type)
- attr 4: application_context_name (context_name_type)
- attr 5: xDLMS_context_info (xDLMS_context_type)
- attr 6: authentication_mechanism_name (mechanism_name_type)
- attr 7: secret (octet-string)
- attr 8: association_status (enum)
- attr 9: security_setup_reference (octet-string) [v1+]
- attr 10: user_list (array) [v2]
- attr 11: current_user (structure) [v2]
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
object_list: Vec<Choice>Object list (attribute 2).
associated_partners_id: ChoiceAssociated partners identifier (attribute 3).
application_context_name: ChoiceApplication context name (attribute 4).
xdlms_context_info: ChoicexDLMS context info (attribute 5).
authentication_mechanism_name: u8Authentication mechanism name (attribute 6).
secret: Vec<u8>Secret / password (attribute 7).
association_status: AssociationStatusAssociation status (attribute 8).
security_setup_reference: Option<ObisCode>Security setup reference (attribute 9, v1+).
user_list: Vec<Choice>User list (attribute 10, v2).
current_user: Option<Choice>Current user (attribute 11, v2).
Trait Implementations§
Source§impl Clone for AssociationLnAttrs
impl Clone for AssociationLnAttrs
Source§fn clone(&self) -> AssociationLnAttrs
fn clone(&self) -> AssociationLnAttrs
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 AssociationLnAttrs
impl Debug for AssociationLnAttrs
Source§impl<'de> Deserialize<'de> for AssociationLnAttrs
impl<'de> Deserialize<'de> for AssociationLnAttrs
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 AssociationLnAttrs
impl RefUnwindSafe for AssociationLnAttrs
impl Send for AssociationLnAttrs
impl Sync for AssociationLnAttrs
impl Unpin for AssociationLnAttrs
impl UnsafeUnpin for AssociationLnAttrs
impl UnwindSafe for AssociationLnAttrs
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