pub struct AuthVerifyRequest {
pub contact: String,
pub kind: AuthContactKind,
pub code: String,
pub challenge_token: Option<String>,
pub device_name: Option<String>,
pub account_namespace: Option<String>,
}Expand description
Request to verify an Inline login code.
Fields§
§contact: StringContact address or phone number used in the start step.
kind: AuthContactKindContact kind.
code: StringVerification code from email or SMS.
challenge_token: Option<String>Opaque email challenge token from the start step, when present.
device_name: Option<String>Optional human-readable device name.
account_namespace: Option<String>Optional account/store namespace chosen by the host.
Trait Implementations§
Source§impl Clone for AuthVerifyRequest
impl Clone for AuthVerifyRequest
Source§fn clone(&self) -> AuthVerifyRequest
fn clone(&self) -> AuthVerifyRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthVerifyRequest
impl Debug for AuthVerifyRequest
Source§impl<'de> Deserialize<'de> for AuthVerifyRequest
impl<'de> Deserialize<'de> for AuthVerifyRequest
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 Eq for AuthVerifyRequest
Source§impl PartialEq for AuthVerifyRequest
impl PartialEq for AuthVerifyRequest
Source§impl Serialize for AuthVerifyRequest
impl Serialize for AuthVerifyRequest
impl StructuralPartialEq for AuthVerifyRequest
Auto Trait Implementations§
impl Freeze for AuthVerifyRequest
impl RefUnwindSafe for AuthVerifyRequest
impl Send for AuthVerifyRequest
impl Sync for AuthVerifyRequest
impl Unpin for AuthVerifyRequest
impl UnsafeUnpin for AuthVerifyRequest
impl UnwindSafe for AuthVerifyRequest
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