pub enum UserIdentityToken {
Anonymous(AnonymousIdentityToken),
UserName(UserNameIdentityToken),
X509(X509IdentityToken),
Issued(IssuedIdentityToken),
}Variants§
Anonymous(AnonymousIdentityToken)
No user information is available.
UserName(UserNameIdentityToken)
A user identified by user name and password.
X509(X509IdentityToken)
A user identified by an X.509 v3 Certificate.
Issued(IssuedIdentityToken)
A user identified by a token issued by an external authorization service.
Trait Implementations§
Source§impl Debug for UserIdentityToken
impl Debug for UserIdentityToken
Source§impl From<AnonymousIdentityToken> for UserIdentityToken
impl From<AnonymousIdentityToken> for UserIdentityToken
Source§fn from(value: AnonymousIdentityToken) -> Self
fn from(value: AnonymousIdentityToken) -> Self
Converts to this type from the input type.
Source§impl From<IssuedIdentityToken> for UserIdentityToken
impl From<IssuedIdentityToken> for UserIdentityToken
Source§fn from(value: IssuedIdentityToken) -> Self
fn from(value: IssuedIdentityToken) -> Self
Converts to this type from the input type.
Source§impl From<UserNameIdentityToken> for UserIdentityToken
impl From<UserNameIdentityToken> for UserIdentityToken
Source§fn from(value: UserNameIdentityToken) -> Self
fn from(value: UserNameIdentityToken) -> Self
Converts to this type from the input type.
Source§impl From<X509IdentityToken> for UserIdentityToken
impl From<X509IdentityToken> for UserIdentityToken
Source§fn from(value: X509IdentityToken) -> Self
fn from(value: X509IdentityToken) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserIdentityToken
impl RefUnwindSafe for UserIdentityToken
impl Send for UserIdentityToken
impl Sync for UserIdentityToken
impl Unpin for UserIdentityToken
impl UnsafeUnpin for UserIdentityToken
impl UnwindSafe for UserIdentityToken
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