pub struct CreateLoginChallengeResponse {
pub challenge_id: LoginChallengeId,
pub provider: HumanLoginProvider,
pub challenge: SecretString,
pub expires_at: OffsetDateTime,
}Expand description
One short-lived challenge. The raw value is returned once and stored only as a digest.
Fields§
§challenge_id: LoginChallengeId§provider: HumanLoginProvider§challenge: SecretString§expires_at: OffsetDateTimeTrait Implementations§
Source§impl<'de> Deserialize<'de> for CreateLoginChallengeResponse
impl<'de> Deserialize<'de> for CreateLoginChallengeResponse
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
Auto Trait Implementations§
impl Freeze for CreateLoginChallengeResponse
impl RefUnwindSafe for CreateLoginChallengeResponse
impl Send for CreateLoginChallengeResponse
impl Sync for CreateLoginChallengeResponse
impl Unpin for CreateLoginChallengeResponse
impl UnsafeUnpin for CreateLoginChallengeResponse
impl UnwindSafe for CreateLoginChallengeResponse
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