pub struct OAuthServerStats {
pub clients: usize,
pub authorization_codes: usize,
pub access_tokens: usize,
pub refresh_tokens: usize,
pub revoked_tokens: usize,
}Expand description
Statistics about the OAuth server state.
Fields§
§clients: usizeNumber of registered clients.
Number of pending authorization codes.
access_tokens: usizeNumber of active access tokens.
refresh_tokens: usizeNumber of active refresh tokens.
revoked_tokens: usizeNumber of revoked tokens.
Trait Implementations§
Source§impl Clone for OAuthServerStats
impl Clone for OAuthServerStats
Source§fn clone(&self) -> OAuthServerStats
fn clone(&self) -> OAuthServerStats
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 OAuthServerStats
impl Debug for OAuthServerStats
Source§impl Default for OAuthServerStats
impl Default for OAuthServerStats
Source§fn default() -> OAuthServerStats
fn default() -> OAuthServerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OAuthServerStats
impl RefUnwindSafe for OAuthServerStats
impl Send for OAuthServerStats
impl Sync for OAuthServerStats
impl Unpin for OAuthServerStats
impl UnwindSafe for OAuthServerStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).