pub struct PermissionEvent {
pub level: LogLevel,
pub operation: PermissionOperation,
pub allowed: bool,
pub timestamp: SystemTime,
pub message: String,
}Expand description
Permission event for logging
Fields§
§level: LogLevelLog level
operation: PermissionOperationOperation
allowed: boolWhether allowed
timestamp: SystemTimeTimestamp
message: StringMessage
Trait Implementations§
Source§impl Clone for PermissionEvent
impl Clone for PermissionEvent
Source§fn clone(&self) -> PermissionEvent
fn clone(&self) -> PermissionEvent
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 moreAuto Trait Implementations§
impl Freeze for PermissionEvent
impl RefUnwindSafe for PermissionEvent
impl Send for PermissionEvent
impl Sync for PermissionEvent
impl Unpin for PermissionEvent
impl UnsafeUnpin for PermissionEvent
impl UnwindSafe for PermissionEvent
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