pub struct SecurityStats {
pub tls_enabled: bool,
pub total_roles: usize,
pub audit_events_total: u64,
pub audit_failures: u64,
}Expand description
Security statistics
Fields§
§tls_enabled: bool§total_roles: usize§audit_events_total: u64§audit_failures: u64Implementations§
Source§impl SecurityStats
impl SecurityStats
Sourcepub fn to_hashmap(&self) -> HashMap<String, f64>
pub fn to_hashmap(&self) -> HashMap<String, f64>
Convert to HashMap for compatibility
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 moreAuto Trait Implementations§
impl Freeze for SecurityStats
impl RefUnwindSafe for SecurityStats
impl Send for SecurityStats
impl Sync for SecurityStats
impl Unpin for SecurityStats
impl UnwindSafe for SecurityStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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