Enum kanidm_proto::v1::SetCredentialResponse [−][src]
pub enum SetCredentialResponse {
Success,
Token(String),
TotpCheck(Uuid, TotpSecret),
TotpInvalidSha1(Uuid),
WebauthnCreateChallenge(Uuid, CreationChallengeResponse),
BackupCodes(Vec<String>),
}
Variants
Token(String)
Tuple Fields of Token
0: String
TotpCheck(Uuid, TotpSecret)
Tuple Fields of TotpCheck
0: Uuid
1: TotpSecret
TotpInvalidSha1(Uuid)
Tuple Fields of TotpInvalidSha1
0: Uuid
WebauthnCreateChallenge(Uuid, CreationChallengeResponse)
Tuple Fields of WebauthnCreateChallenge
0: Uuid
1: CreationChallengeResponse
Trait Implementations
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 RefUnwindSafe for SetCredentialResponse
impl Send for SetCredentialResponse
impl Sync for SetCredentialResponse
impl Unpin for SetCredentialResponse
impl UnwindSafe for SetCredentialResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more