pub struct AuditSession {
pub profile: String,
pub session_index: usize,
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub boundary: SessionBoundary,
pub operation_count: usize,
pub exec_count: usize,
pub failure_count: usize,
pub operations: Vec<ExplainedAuditOperation>,
}Expand description
Probable operator session inferred from audit history.
Current audit logs do not carry explicit session ids, so sessions are
grouped heuristically: on the first entry, on unlock, on profile changes,
and on long idle gaps.
Fields§
§profile: String§session_index: usize§start: DateTime<Utc>§end: DateTime<Utc>§boundary: SessionBoundary§operation_count: usize§exec_count: usize§failure_count: usize§operations: Vec<ExplainedAuditOperation>Trait Implementations§
Source§impl Clone for AuditSession
impl Clone for AuditSession
Source§fn clone(&self) -> AuditSession
fn clone(&self) -> AuditSession
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 AuditSession
impl Debug for AuditSession
Source§impl<'de> Deserialize<'de> for AuditSession
impl<'de> Deserialize<'de> for AuditSession
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
Source§impl PartialEq for AuditSession
impl PartialEq for AuditSession
Source§fn eq(&self, other: &AuditSession) -> bool
fn eq(&self, other: &AuditSession) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuditSession
impl Serialize for AuditSession
impl Eq for AuditSession
impl StructuralPartialEq for AuditSession
Auto Trait Implementations§
impl Freeze for AuditSession
impl RefUnwindSafe for AuditSession
impl Send for AuditSession
impl Sync for AuditSession
impl Unpin for AuditSession
impl UnsafeUnpin for AuditSession
impl UnwindSafe for AuditSession
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.