pub struct AuthMetricsSnapshot {
pub total_attempts: u64,
pub success_count: u64,
pub success_rate: f64,
pub failure_counts: HashMap<String, u64>,
pub jwks_fetch_count: u64,
pub jwks_fetch_latency_us: u64,
pub jwks_fetch_failures: u64,
pub verification_latency_us: u64,
}Expand description
Serializable snapshot of auth metrics
Fields§
§total_attempts: u64§success_count: u64§success_rate: f64§failure_counts: HashMap<String, u64>§jwks_fetch_count: u64§jwks_fetch_latency_us: u64§jwks_fetch_failures: u64§verification_latency_us: u64Trait Implementations§
Source§impl Clone for AuthMetricsSnapshot
impl Clone for AuthMetricsSnapshot
Source§fn clone(&self) -> AuthMetricsSnapshot
fn clone(&self) -> AuthMetricsSnapshot
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 AuthMetricsSnapshot
impl Debug for AuthMetricsSnapshot
Auto Trait Implementations§
impl Freeze for AuthMetricsSnapshot
impl RefUnwindSafe for AuthMetricsSnapshot
impl Send for AuthMetricsSnapshot
impl Sync for AuthMetricsSnapshot
impl Unpin for AuthMetricsSnapshot
impl UnsafeUnpin for AuthMetricsSnapshot
impl UnwindSafe for AuthMetricsSnapshot
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