pub struct TwoFactorLoginResult {
pub redirect_to: Option<String>,
pub status: String,
pub extra: Map<String, Value>,
}Expand description
Two-factor completion result. The legacy disabled-two-factor branch returns only status and does not complete login.
Fields§
§redirect_to: Option<String>Suggested post-login navigation target from the pending session or external-link completion. Can be relative, absolute or empty. Absent in the legacy disabled-two-factor branch.
status: String§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for TwoFactorLoginResult
impl Clone for TwoFactorLoginResult
Source§impl Debug for TwoFactorLoginResult
impl Debug for TwoFactorLoginResult
Source§impl Default for TwoFactorLoginResult
impl Default for TwoFactorLoginResult
Source§impl<'de> Deserialize<'de> for TwoFactorLoginResult
impl<'de> Deserialize<'de> for TwoFactorLoginResult
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 PartialEq for TwoFactorLoginResult
impl PartialEq for TwoFactorLoginResult
Source§impl Serialize for TwoFactorLoginResult
impl Serialize for TwoFactorLoginResult
impl StructuralPartialEq for TwoFactorLoginResult
Auto Trait Implementations§
impl Freeze for TwoFactorLoginResult
impl RefUnwindSafe for TwoFactorLoginResult
impl Send for TwoFactorLoginResult
impl Sync for TwoFactorLoginResult
impl Unpin for TwoFactorLoginResult
impl UnsafeUnpin for TwoFactorLoginResult
impl UnwindSafe for TwoFactorLoginResult
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