pub struct TwoFactorSetupActivate {
pub code: String,
pub extra: Map<String, Value>,
}Fields§
§code: StringSix-digit current authenticator code. Send it as a string to preserve leading zeroes. A code already accepted recently for this person cannot be reused.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for TwoFactorSetupActivate
impl Clone for TwoFactorSetupActivate
Source§impl Debug for TwoFactorSetupActivate
impl Debug for TwoFactorSetupActivate
Source§impl Default for TwoFactorSetupActivate
impl Default for TwoFactorSetupActivate
Source§impl<'de> Deserialize<'de> for TwoFactorSetupActivate
impl<'de> Deserialize<'de> for TwoFactorSetupActivate
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 TwoFactorSetupActivate
impl PartialEq for TwoFactorSetupActivate
Source§impl Serialize for TwoFactorSetupActivate
impl Serialize for TwoFactorSetupActivate
impl StructuralPartialEq for TwoFactorSetupActivate
Auto Trait Implementations§
impl Freeze for TwoFactorSetupActivate
impl RefUnwindSafe for TwoFactorSetupActivate
impl Send for TwoFactorSetupActivate
impl Sync for TwoFactorSetupActivate
impl Unpin for TwoFactorSetupActivate
impl UnsafeUnpin for TwoFactorSetupActivate
impl UnwindSafe for TwoFactorSetupActivate
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