pub struct VerifyMobileOtpParams {
pub phone: String,
pub token: String,
pub otp_type: OtpType,
pub options: Option<VerifyOtpOptions>,
}
Fields§
§phone: String
The user’s phone number.
token: String
The otp sent to the user’s phone number.
otp_type: OtpType
The user’s verification type.
options: Option<VerifyOtpOptions>
Optional parameters
Trait Implementations§
Source§impl Clone for VerifyMobileOtpParams
impl Clone for VerifyMobileOtpParams
Source§fn clone(&self) -> VerifyMobileOtpParams
fn clone(&self) -> VerifyMobileOtpParams
Returns a duplicate of the value. Read more
1.0.0 · 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 VerifyMobileOtpParams
impl Debug for VerifyMobileOtpParams
Source§impl Default for VerifyMobileOtpParams
impl Default for VerifyMobileOtpParams
Source§fn default() -> VerifyMobileOtpParams
fn default() -> VerifyMobileOtpParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerifyMobileOtpParams
impl<'de> Deserialize<'de> for VerifyMobileOtpParams
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 VerifyMobileOtpParams
impl PartialEq for VerifyMobileOtpParams
Source§impl Serialize for VerifyMobileOtpParams
impl Serialize for VerifyMobileOtpParams
impl StructuralPartialEq for VerifyMobileOtpParams
Auto Trait Implementations§
impl Freeze for VerifyMobileOtpParams
impl RefUnwindSafe for VerifyMobileOtpParams
impl Send for VerifyMobileOtpParams
impl Sync for VerifyMobileOtpParams
impl Unpin for VerifyMobileOtpParams
impl UnwindSafe for VerifyMobileOtpParams
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