Struct supabase_auth::models::VerifyMobileOtpParams
source · pub struct VerifyMobileOtpParams {
pub phone: String,
pub token: String,
pub otp_type: MobileOtpType,
pub options: Option<VerifyOtpOptions>,
}Fields§
§phone: StringThe user’s phone number.
token: StringThe otp sent to the user’s phone number.
otp_type: MobileOtpTypeThe user’s verification type.
options: Option<VerifyOtpOptions>Optional parameters
Trait Implementations§
source§impl Debug for VerifyMobileOtpParams
impl Debug for VerifyMobileOtpParams
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
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