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