pub struct PostLoginTwofactorSetupActivateData {
pub redirect_to: 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: String§status: String§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PostLoginTwofactorSetupActivateData
impl<'de> Deserialize<'de> for PostLoginTwofactorSetupActivateData
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
impl StructuralPartialEq for PostLoginTwofactorSetupActivateData
Auto Trait Implementations§
impl Freeze for PostLoginTwofactorSetupActivateData
impl RefUnwindSafe for PostLoginTwofactorSetupActivateData
impl Send for PostLoginTwofactorSetupActivateData
impl Sync for PostLoginTwofactorSetupActivateData
impl Unpin for PostLoginTwofactorSetupActivateData
impl UnsafeUnpin for PostLoginTwofactorSetupActivateData
impl UnwindSafe for PostLoginTwofactorSetupActivateData
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