pub struct LoginEmailOtpParams {
pub captcha_token: Option<String>,
pub data: Option<Value>,
pub email_redirect_to: Option<String>,
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.
email_redirect_to: Option<String>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 LoginEmailOtpParams
impl Clone for LoginEmailOtpParams
Source§fn clone(&self) -> LoginEmailOtpParams
fn clone(&self) -> LoginEmailOtpParams
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 LoginEmailOtpParams
impl Debug for LoginEmailOtpParams
Source§impl Default for LoginEmailOtpParams
impl Default for LoginEmailOtpParams
Source§fn default() -> LoginEmailOtpParams
fn default() -> LoginEmailOtpParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoginEmailOtpParams
impl<'de> Deserialize<'de> for LoginEmailOtpParams
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 LoginEmailOtpParams
impl PartialEq for LoginEmailOtpParams
Source§impl Serialize for LoginEmailOtpParams
impl Serialize for LoginEmailOtpParams
impl StructuralPartialEq for LoginEmailOtpParams
Auto Trait Implementations§
impl Freeze for LoginEmailOtpParams
impl RefUnwindSafe for LoginEmailOtpParams
impl Send for LoginEmailOtpParams
impl Sync for LoginEmailOtpParams
impl Unpin for LoginEmailOtpParams
impl UnwindSafe for LoginEmailOtpParams
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