pub struct AuthenticatorInfo {
pub description: String,
pub version_maj: u32,
pub version_min: u32,
pub version_rev: u32,
pub id: AuthType,
}
Expand description
Structure holding the basic information that defines the authenticators in the service for client discovery.
Fields
description: String
Short description of the authenticator.
version_maj: u32
Authenticator implementation version major.
version_min: u32
Authenticator implementation version minor.
version_rev: u32
Authenticator implementation version revision number.
id: AuthType
Authenticator ID to use on the wire protocol to communicate with this authenticator.
Trait Implementations
sourceimpl Clone for AuthenticatorInfo
impl Clone for AuthenticatorInfo
sourcefn clone(&self) -> AuthenticatorInfo
fn clone(&self) -> AuthenticatorInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthenticatorInfo
impl Debug for AuthenticatorInfo
sourceimpl Hash for AuthenticatorInfo
impl Hash for AuthenticatorInfo
sourceimpl PartialEq<AuthenticatorInfo> for AuthenticatorInfo
impl PartialEq<AuthenticatorInfo> for AuthenticatorInfo
sourcefn eq(&self, other: &AuthenticatorInfo) -> bool
fn eq(&self, other: &AuthenticatorInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AuthenticatorInfo) -> bool
fn ne(&self, other: &AuthenticatorInfo) -> bool
This method tests for !=
.
impl Eq for AuthenticatorInfo
impl StructuralEq for AuthenticatorInfo
impl StructuralPartialEq for AuthenticatorInfo
Auto Trait Implementations
impl RefUnwindSafe for AuthenticatorInfo
impl Send for AuthenticatorInfo
impl Sync for AuthenticatorInfo
impl Unpin for AuthenticatorInfo
impl UnwindSafe for AuthenticatorInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more