pub struct PermAuditEntry {
pub timestamp: DateTime<Utc>,
pub agent_name: String,
pub action: String,
pub resource: String,
pub allowed: bool,
pub reason: Option<String>,
}Expand description
Security audit entry.
Fields§
§timestamp: DateTime<Utc>When.
agent_name: StringAgent.
action: StringAction type.
resource: StringResource.
allowed: boolAllowed?
reason: Option<String>Reason.
Implementations§
Trait Implementations§
Source§impl Clone for PermAuditEntry
impl Clone for PermAuditEntry
Source§fn clone(&self) -> PermAuditEntry
fn clone(&self) -> PermAuditEntry
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 PermAuditEntry
impl Debug for PermAuditEntry
Source§impl<'de> Deserialize<'de> for PermAuditEntry
impl<'de> Deserialize<'de> for PermAuditEntry
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 PermAuditEntry
impl RefUnwindSafe for PermAuditEntry
impl Send for PermAuditEntry
impl Sync for PermAuditEntry
impl Unpin for PermAuditEntry
impl UnsafeUnpin for PermAuditEntry
impl UnwindSafe for PermAuditEntry
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