pub struct ResetPasswordOptions {
pub email_redirect_to: Option<String>,
pub captcha_token: Option<String>,
}
Fields§
§email_redirect_to: Option<String>
The redirect url embedded in the email link
captcha_token: Option<String>
Verification token received when the user completes the captcha on the site.
Trait Implementations§
Source§impl Clone for ResetPasswordOptions
impl Clone for ResetPasswordOptions
Source§fn clone(&self) -> ResetPasswordOptions
fn clone(&self) -> ResetPasswordOptions
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 ResetPasswordOptions
impl Debug for ResetPasswordOptions
Source§impl Default for ResetPasswordOptions
impl Default for ResetPasswordOptions
Source§fn default() -> ResetPasswordOptions
fn default() -> ResetPasswordOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResetPasswordOptions
impl<'de> Deserialize<'de> for ResetPasswordOptions
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 ResetPasswordOptions
impl PartialEq for ResetPasswordOptions
Source§impl Serialize for ResetPasswordOptions
impl Serialize for ResetPasswordOptions
impl StructuralPartialEq for ResetPasswordOptions
Auto Trait Implementations§
impl Freeze for ResetPasswordOptions
impl RefUnwindSafe for ResetPasswordOptions
impl Send for ResetPasswordOptions
impl Sync for ResetPasswordOptions
impl Unpin for ResetPasswordOptions
impl UnwindSafe for ResetPasswordOptions
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