Enum kanidm_proto::v1::SetCredentialResponse
source · [−]pub enum SetCredentialResponse {
Success,
Token(String),
TotpCheck(Uuid, TotpSecret),
TotpInvalidSha1(Uuid),
SecurityKeyCreateChallenge(Uuid, CreationChallengeResponse),
BackupCodes(Vec<String>),
}
Variants
Success
Token(String)
TotpCheck(Uuid, TotpSecret)
TotpInvalidSha1(Uuid)
SecurityKeyCreateChallenge(Uuid, CreationChallengeResponse)
BackupCodes(Vec<String>)
Trait Implementations
sourceimpl Debug for SetCredentialResponse
impl Debug for SetCredentialResponse
sourceimpl<'de> Deserialize<'de> for SetCredentialResponse
impl<'de> Deserialize<'de> for SetCredentialResponse
sourcefn 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
sourceimpl Serialize for SetCredentialResponse
impl Serialize for SetCredentialResponse
Auto Trait Implementations
impl RefUnwindSafe for SetCredentialResponse
impl Send for SetCredentialResponse
impl Sync for SetCredentialResponse
impl Unpin for SetCredentialResponse
impl UnwindSafe for SetCredentialResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more