pub struct VerifyInput {
pub code: String,
pub trust_device: Option<bool>,
}Expand description
Body of the /two-factor/verify-* endpoints.
Fields§
§code: String§trust_device: Option<bool>Skip the challenge on this device for trust_device_for.
Trait Implementations§
Source§impl Debug for VerifyInput
impl Debug for VerifyInput
Source§impl<'de> Deserialize<'de> for VerifyInput
impl<'de> Deserialize<'de> for VerifyInput
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 Forget for VerifyInput
impl Freeze for VerifyInput
impl Move for VerifyInput
impl RefUnwindSafe for VerifyInput
impl Send for VerifyInput
impl Sync for VerifyInput
impl Unpin for VerifyInput
impl UnsafeUnpin for VerifyInput
impl UnwindSafe for VerifyInput
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