Struct ehelply::models::user_confirmation::UserConfirmation
source · [−]Expand description
UserConfirmation : Information to confirm user
Fields
email: String
verification_code: String
Implementations
sourceimpl UserConfirmation
impl UserConfirmation
sourcepub fn new(email: String, verification_code: String) -> UserConfirmation
pub fn new(email: String, verification_code: String) -> UserConfirmation
Information to confirm user
Trait Implementations
sourceimpl Clone for UserConfirmation
impl Clone for UserConfirmation
sourcefn clone(&self) -> UserConfirmation
fn clone(&self) -> UserConfirmation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UserConfirmation
impl Debug for UserConfirmation
sourceimpl Default for UserConfirmation
impl Default for UserConfirmation
sourcefn default() -> UserConfirmation
fn default() -> UserConfirmation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserConfirmation
impl<'de> Deserialize<'de> for UserConfirmation
sourcefn 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
sourceimpl PartialEq<UserConfirmation> for UserConfirmation
impl PartialEq<UserConfirmation> for UserConfirmation
sourcefn eq(&self, other: &UserConfirmation) -> bool
fn eq(&self, other: &UserConfirmation) -> bool
sourceimpl Serialize for UserConfirmation
impl Serialize for UserConfirmation
impl StructuralPartialEq for UserConfirmation
Auto Trait Implementations
impl RefUnwindSafe for UserConfirmation
impl Send for UserConfirmation
impl Sync for UserConfirmation
impl Unpin for UserConfirmation
impl UnwindSafe for UserConfirmation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more