pub struct AuthStatusInfo {
pub schema_version: u16,
pub safe_mode: bool,
pub capacity: usize,
pub active_keys: usize,
pub expired_keys: usize,
pub revoked_keys: usize,
pub legacy_protocol: LegacyProtocol,
pub active_legacy_connections: u64,
pub last_legacy_connection_at: Option<u64>,
pub auth_successes: u64,
pub auth_failures: u64,
pub server_instance_id: String,
}Expand description
Relay-side snapshot of the credential subsystem.
Fields§
§schema_version: u16§safe_mode: bool§capacity: usize§active_keys: usize§expired_keys: usize§revoked_keys: usize§legacy_protocol: LegacyProtocol§active_legacy_connections: u64§last_legacy_connection_at: Option<u64>§auth_successes: u64§auth_failures: u64§server_instance_id: StringTrait Implementations§
Source§impl Clone for AuthStatusInfo
impl Clone for AuthStatusInfo
Source§impl Debug for AuthStatusInfo
impl Debug for AuthStatusInfo
impl Eq for AuthStatusInfo
Source§impl From<AuthStatus> for AuthStatusInfo
impl From<AuthStatus> for AuthStatusInfo
Source§fn from(value: AuthStatus) -> Self
fn from(value: AuthStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AuthStatusInfo
impl PartialEq for AuthStatusInfo
impl StructuralPartialEq for AuthStatusInfo
Auto Trait Implementations§
impl Freeze for AuthStatusInfo
impl RefUnwindSafe for AuthStatusInfo
impl Send for AuthStatusInfo
impl Sync for AuthStatusInfo
impl Unpin for AuthStatusInfo
impl UnsafeUnpin for AuthStatusInfo
impl UnwindSafe for AuthStatusInfo
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more