pub struct PersonTwoFactorVerify {
pub code: String,
pub person_id: i64,
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.
person_id: i64ID of the current person whose initialized secret is checked.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonTwoFactorVerify
impl Clone for PersonTwoFactorVerify
Source§impl Debug for PersonTwoFactorVerify
impl Debug for PersonTwoFactorVerify
Source§impl Default for PersonTwoFactorVerify
impl Default for PersonTwoFactorVerify
Source§impl<'de> Deserialize<'de> for PersonTwoFactorVerify
impl<'de> Deserialize<'de> for PersonTwoFactorVerify
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 PersonTwoFactorVerify
impl PartialEq for PersonTwoFactorVerify
Source§impl Serialize for PersonTwoFactorVerify
impl Serialize for PersonTwoFactorVerify
impl StructuralPartialEq for PersonTwoFactorVerify
Auto Trait Implementations§
impl Freeze for PersonTwoFactorVerify
impl RefUnwindSafe for PersonTwoFactorVerify
impl Send for PersonTwoFactorVerify
impl Sync for PersonTwoFactorVerify
impl Unpin for PersonTwoFactorVerify
impl UnsafeUnpin for PersonTwoFactorVerify
impl UnwindSafe for PersonTwoFactorVerify
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