pub struct SendVerificationEmailRequest {
pub email: String,
}
Fields§
§email: String
Email of a user
Implementations§
Source§impl SendVerificationEmailRequest
impl SendVerificationEmailRequest
pub fn new(email: String) -> SendVerificationEmailRequest
Trait Implementations§
Source§impl Clone for SendVerificationEmailRequest
impl Clone for SendVerificationEmailRequest
Source§fn clone(&self) -> SendVerificationEmailRequest
fn clone(&self) -> SendVerificationEmailRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SendVerificationEmailRequest
impl Debug for SendVerificationEmailRequest
Source§impl Default for SendVerificationEmailRequest
impl Default for SendVerificationEmailRequest
Source§fn default() -> SendVerificationEmailRequest
fn default() -> SendVerificationEmailRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendVerificationEmailRequest
impl<'de> Deserialize<'de> for SendVerificationEmailRequest
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 SendVerificationEmailRequest
impl PartialEq for SendVerificationEmailRequest
Source§fn eq(&self, other: &SendVerificationEmailRequest) -> bool
fn eq(&self, other: &SendVerificationEmailRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SendVerificationEmailRequest
Auto Trait Implementations§
impl Freeze for SendVerificationEmailRequest
impl RefUnwindSafe for SendVerificationEmailRequest
impl Send for SendVerificationEmailRequest
impl Sync for SendVerificationEmailRequest
impl Unpin for SendVerificationEmailRequest
impl UnwindSafe for SendVerificationEmailRequest
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