pub struct SystemStatistics {
pub total_roles: usize,
pub total_permissions: usize,
pub total_subjects: usize,
pub total_role_assignments: usize,
}Expand description
System-wide statistics.
Fields§
§total_roles: usizeTotal number of roles defined.
total_permissions: usizeTotal number of permissions across all roles.
total_subjects: usizeTotal number of subjects with role assignments.
total_role_assignments: usizeTotal number of role assignments.
Trait Implementations§
Source§impl Clone for SystemStatistics
impl Clone for SystemStatistics
Source§fn clone(&self) -> SystemStatistics
fn clone(&self) -> SystemStatistics
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 SystemStatistics
impl RefUnwindSafe for SystemStatistics
impl Send for SystemStatistics
impl Sync for SystemStatistics
impl Unpin for SystemStatistics
impl UnwindSafe for SystemStatistics
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