pub struct LoginMobileOtpParams {
pub captcha_token: Option<String>,
pub data: Option<Value>,
pub channel: Option<Channel>,
pub should_create_user: Option<bool>,
}Fields§
§captcha_token: Option<String>Verification token received when the user completes the captcha on the site.
data: Option<Value>A custom data object to store the user’s metadata. This maps to the auth.users.raw_user_meta_data column.
channel: Option<Channel>The redirect url embedded in the email link
should_create_user: Option<bool>If set to false, this method will not create a new user. Defaults to true.
Trait Implementations§
Source§impl Clone for LoginMobileOtpParams
impl Clone for LoginMobileOtpParams
Source§fn clone(&self) -> LoginMobileOtpParams
fn clone(&self) -> LoginMobileOtpParams
Returns a copy 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 LoginMobileOtpParams
impl Debug for LoginMobileOtpParams
Source§impl Default for LoginMobileOtpParams
impl Default for LoginMobileOtpParams
Source§fn default() -> LoginMobileOtpParams
fn default() -> LoginMobileOtpParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoginMobileOtpParams
impl<'de> Deserialize<'de> for LoginMobileOtpParams
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 LoginMobileOtpParams
impl PartialEq for LoginMobileOtpParams
Source§impl Serialize for LoginMobileOtpParams
impl Serialize for LoginMobileOtpParams
impl StructuralPartialEq for LoginMobileOtpParams
Auto Trait Implementations§
impl Freeze for LoginMobileOtpParams
impl RefUnwindSafe for LoginMobileOtpParams
impl Send for LoginMobileOtpParams
impl Sync for LoginMobileOtpParams
impl Unpin for LoginMobileOtpParams
impl UnwindSafe for LoginMobileOtpParams
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