pub struct AuthenticationStatus {
pub method: Option<String>,
pub mfa_enabled: Option<bool>,
pub cert_auth: Option<bool>,
pub token_expiry_sec: Option<u64>,
}Expand description
Authentication status.
Fields§
§method: Option<String>Authentication method
mfa_enabled: Option<bool>Multi-factor auth enabled
cert_auth: Option<bool>Certificate-based auth
token_expiry_sec: Option<u64>Token expiry (seconds)
Trait Implementations§
Source§impl Clone for AuthenticationStatus
impl Clone for AuthenticationStatus
Source§fn clone(&self) -> AuthenticationStatus
fn clone(&self) -> AuthenticationStatus
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 AuthenticationStatus
impl Debug for AuthenticationStatus
Source§impl Default for AuthenticationStatus
impl Default for AuthenticationStatus
Source§fn default() -> AuthenticationStatus
fn default() -> AuthenticationStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationStatus
impl<'de> Deserialize<'de> for AuthenticationStatus
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 AuthenticationStatus
impl RefUnwindSafe for AuthenticationStatus
impl Send for AuthenticationStatus
impl Sync for AuthenticationStatus
impl Unpin for AuthenticationStatus
impl UnwindSafe for AuthenticationStatus
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