pub struct BACnetAuditNotification {Show 17 fields
pub source_timestamp: Option<BACnetTimeStamp>,
pub target_timestamp: Option<BACnetTimeStamp>,
pub source_device: BACnetRecipient,
pub source_object: Option<ObjectIdentifier>,
pub operation: AuditOperation,
pub source_comment: Option<String>,
pub target_comment: Option<String>,
pub invoke_id: Option<u8>,
pub source_user_id: Option<u16>,
pub source_user_role: Option<u8>,
pub target_device: BACnetRecipient,
pub target_object: Option<ObjectIdentifier>,
pub target_property: Option<AuditPropertyReference>,
pub target_priority: Option<u8>,
pub target_value: Option<Vec<u8>>,
pub current_value: Option<Vec<u8>>,
pub result: Option<(ErrorClass, ErrorCode)>,
}Expand description
One audit operation record (BACnetAuditNotification, Clause 21).
Fields§
§source_timestamp: Option<BACnetTimeStamp>Optional timestamp at the source device.
target_timestamp: Option<BACnetTimeStamp>Optional timestamp at the target device.
source_device: BACnetRecipientDevice or address that originated the operation.
source_object: Option<ObjectIdentifier>Optional source object.
operation: AuditOperationOperation being audited.
source_comment: Option<String>Optional source-side comment.
target_comment: Option<String>Optional target-side comment.
invoke_id: Option<u8>Optional originating service invoke identifier.
source_user_id: Option<u16>Optional source user identifier.
source_user_role: Option<u8>Optional source user role.
target_device: BACnetRecipientDevice or address targeted by the operation.
target_object: Option<ObjectIdentifier>Optional target object.
target_property: Option<AuditPropertyReference>Optional target property reference.
target_priority: Option<u8>Command priority, constrained to 1..=16 when present.
target_value: Option<Vec<u8>>Raw, structurally validated ABSTRACT-SYNTAX.&Type encoding.
current_value: Option<Vec<u8>>Raw, structurally validated ABSTRACT-SYNTAX.&Type encoding.
result: Option<(ErrorClass, ErrorCode)>Optional BACnet error produced by the audited operation.
Trait Implementations§
Source§impl Clone for BACnetAuditNotification
impl Clone for BACnetAuditNotification
Source§impl Debug for BACnetAuditNotification
impl Debug for BACnetAuditNotification
Source§impl PartialEq for BACnetAuditNotification
impl PartialEq for BACnetAuditNotification
impl StructuralPartialEq for BACnetAuditNotification
Auto Trait Implementations§
impl Freeze for BACnetAuditNotification
impl RefUnwindSafe for BACnetAuditNotification
impl Send for BACnetAuditNotification
impl Sync for BACnetAuditNotification
impl Unpin for BACnetAuditNotification
impl UnsafeUnpin for BACnetAuditNotification
impl UnwindSafe for BACnetAuditNotification
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