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