pub struct SecurityStats {
pub total_users: usize,
pub active_sessions: usize,
pub total_logins: u64,
pub failed_logins: u64,
pub total_audit_entries: u64,
pub authorization_denials: u64,
}Expand description
Security statistics.
Fields§
§total_users: usizeTotal number of registered users
active_sessions: usizeNumber of currently active sessions
total_logins: u64Total successful logins
failed_logins: u64Total failed login attempts
total_audit_entries: u64Total audit log entries
Total authorization denial events
Trait Implementations§
Source§impl Clone for SecurityStats
impl Clone for SecurityStats
Source§fn clone(&self) -> SecurityStats
fn clone(&self) -> SecurityStats
Returns a duplicate of the value. Read more
1.0.0 · 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 SecurityStats
impl Debug for SecurityStats
Source§impl Default for SecurityStats
impl Default for SecurityStats
Source§fn default() -> SecurityStats
fn default() -> SecurityStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecurityStats
impl<'de> Deserialize<'de> for SecurityStats
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 SecurityStats
impl RefUnwindSafe for SecurityStats
impl Send for SecurityStats
impl Sync for SecurityStats
impl Unpin for SecurityStats
impl UnsafeUnpin for SecurityStats
impl UnwindSafe for SecurityStats
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