pub struct PolicyStats {
pub total_permissions: usize,
pub currently_valid: usize,
pub expired_permissions: usize,
pub is_active: bool,
}Expand description
Statistics for a temporal policy.
Fields§
§total_permissions: usize§currently_valid: usize§expired_permissions: usize§is_active: boolTrait Implementations§
Source§impl Clone for PolicyStats
impl Clone for PolicyStats
Source§fn clone(&self) -> PolicyStats
fn clone(&self) -> PolicyStats
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 PolicyStats
impl RefUnwindSafe for PolicyStats
impl Send for PolicyStats
impl Sync for PolicyStats
impl Unpin for PolicyStats
impl UnwindSafe for PolicyStats
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