pub struct KeyUsageStats {
pub total_keys: u32,
pub active_keys: u32,
pub disabled_keys: u32,
pub expired_keys: u32,
pub total_usage_count: u64,
pub admin_keys: u32,
pub operator_keys: u32,
pub monitor_keys: u32,
pub device_keys: u32,
pub custom_keys: u32,
}
Expand description
API key usage statistics
Fields§
§total_keys: u32
Total number of keys
active_keys: u32
Number of active keys
disabled_keys: u32
Number of disabled keys
expired_keys: u32
Number of expired keys
total_usage_count: u64
Total usage count across all keys
admin_keys: u32
Admin role keys
operator_keys: u32
Operator role keys
monitor_keys: u32
Monitor role keys
device_keys: u32
Device role keys
custom_keys: u32
Custom role keys
Trait Implementations§
Source§impl Clone for KeyUsageStats
impl Clone for KeyUsageStats
Source§fn clone(&self) -> KeyUsageStats
fn clone(&self) -> KeyUsageStats
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 KeyUsageStats
impl Debug for KeyUsageStats
Source§impl Default for KeyUsageStats
impl Default for KeyUsageStats
Source§fn default() -> KeyUsageStats
fn default() -> KeyUsageStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyUsageStats
impl<'de> Deserialize<'de> for KeyUsageStats
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 KeyUsageStats
impl RefUnwindSafe for KeyUsageStats
impl Send for KeyUsageStats
impl Sync for KeyUsageStats
impl Unpin for KeyUsageStats
impl UnwindSafe for KeyUsageStats
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