pub enum CredentialAuthTokenOperation {
Login,
LinkCredential,
UnlinkCredential,
}Expand description
The operation for what this authorized credential token should do.
Variants§
Login
Login using these credentials.
LinkCredential
Link the credential to an account (e.g. email or steam).
UnlinkCredential
Unlink the credential from its account
(e.g. email or steam).
If the credential is the last bound to
the account this operation will fail and
super::account_token::AccountTokenOperation::Delete
should be used instead.
Trait Implementations§
Source§impl Clone for CredentialAuthTokenOperation
impl Clone for CredentialAuthTokenOperation
Source§fn clone(&self) -> CredentialAuthTokenOperation
fn clone(&self) -> CredentialAuthTokenOperation
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 CredentialAuthTokenOperation
impl Debug for CredentialAuthTokenOperation
Source§impl<'de> Deserialize<'de> for CredentialAuthTokenOperation
impl<'de> Deserialize<'de> for CredentialAuthTokenOperation
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
Source§impl<'_derivative_strum> From<&'_derivative_strum CredentialAuthTokenOperation> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum CredentialAuthTokenOperation> for &'static str
Source§fn from(x: &'_derivative_strum CredentialAuthTokenOperation) -> &'static str
fn from(x: &'_derivative_strum CredentialAuthTokenOperation) -> &'static str
Converts to this type from the input type.
Source§impl From<CredentialAuthTokenOperation> for &'static str
impl From<CredentialAuthTokenOperation> for &'static str
Source§fn from(x: CredentialAuthTokenOperation) -> &'static str
fn from(x: CredentialAuthTokenOperation) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for CredentialAuthTokenOperation
impl PartialEq for CredentialAuthTokenOperation
Source§fn eq(&self, other: &CredentialAuthTokenOperation) -> bool
fn eq(&self, other: &CredentialAuthTokenOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for CredentialAuthTokenOperation
impl TryFrom<&str> for CredentialAuthTokenOperation
impl Copy for CredentialAuthTokenOperation
impl Eq for CredentialAuthTokenOperation
impl StructuralPartialEq for CredentialAuthTokenOperation
Auto Trait Implementations§
impl Freeze for CredentialAuthTokenOperation
impl RefUnwindSafe for CredentialAuthTokenOperation
impl Send for CredentialAuthTokenOperation
impl Sync for CredentialAuthTokenOperation
impl Unpin for CredentialAuthTokenOperation
impl UnwindSafe for CredentialAuthTokenOperation
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