Struct opcua_server::events::audit::session_events::AuditSessionEventType
source · [−]pub struct AuditSessionEventType { /* private fields */ }
Expand description
Base type for audit session events. Do not raise events of this type
Implementations
sourceimpl AuditSessionEventType
impl AuditSessionEventType
pub fn add_property<T, R, S, U, V>(
&mut self,
event_id: &NodeId,
property_id: T,
browse_name: R,
display_name: S,
data_type: U,
value: V,
address_space: &mut AddressSpace
) where
T: Into<NodeId>,
R: Into<QualifiedName>,
S: Into<LocalizedText>,
U: Into<NodeId>,
V: Into<Variant>,
pub fn message<T>(self, message: T) -> AuditSessionEventType where
T: Into<LocalizedText>,
pub fn source_node<T>(self, source_node: T) -> AuditSessionEventType where
T: Into<NodeId>,
pub fn source_name<T>(self, source_name: T) -> AuditSessionEventType where
T: Into<UAString>,
pub fn local_time(
self,
local_time: Option<TimeZoneDataType>
) -> AuditSessionEventType
pub fn severity(self, severity: u16) -> AuditSessionEventType
pub fn receive_time(self, receive_time: DateTime) -> AuditSessionEventType
sourceimpl AuditSessionEventType
impl AuditSessionEventType
pub fn client_audit_entry_id<T>(self, client_audit_entry_id: T) -> Self where
T: Into<UAString>,
pub fn client_user_id<T>(self, client_user_id: T) -> Self where
T: Into<UAString>,
pub fn status(self, status: bool) -> Self
pub fn server_id<T>(self, server_id: T) -> Self where
T: Into<UAString>,
pub fn action_time_stamp(self, action_time_stamp: UtcTime) -> Self
sourceimpl AuditSessionEventType
impl AuditSessionEventType
pub fn new<R, E, S, T>(
node_id: R,
event_type_id: E,
browse_name: S,
display_name: T,
time: DateTime
) -> Self where
R: Into<NodeId>,
E: Into<NodeId>,
S: Into<QualifiedName>,
T: Into<LocalizedText>,
pub fn new_close_session<R>(
node_id: R,
time: DateTime,
reason: AuditCloseSessionReason
) -> Self where
R: Into<NodeId>,
pub fn session_id<T>(self, session_id: T) -> Self where
T: Into<NodeId>,
Trait Implementations
sourceimpl AuditEvent for AuditSessionEventType
impl AuditEvent for AuditSessionEventType
sourcefn event_type_id() -> NodeId
fn event_type_id() -> NodeId
Returns the kind of event type that this audit event represents. Abstract events should panic. Read more
fn log_message(&self) -> String
fn parent_node() -> NodeId
sourceimpl Event for AuditSessionEventType
impl Event for AuditSessionEventType
Auto Trait Implementations
impl RefUnwindSafe for AuditSessionEventType
impl Send for AuditSessionEventType
impl Sync for AuditSessionEventType
impl Unpin for AuditSessionEventType
impl UnwindSafe for AuditSessionEventType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more