Struct pages::db::UpdateEmail
source · [−]Expand description
data required to update them email of a user
Fields
username: &'a str
username of the user
new_email: &'a str
new email address of the user
Trait Implementations
sourceimpl<'a> Clone for UpdateEmail<'a>
impl<'a> Clone for UpdateEmail<'a>
sourcefn clone(&self) -> UpdateEmail<'a>
fn clone(&self) -> UpdateEmail<'a>
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<'a> Debug for UpdateEmail<'a>
impl<'a> Debug for UpdateEmail<'a>
sourceimpl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>
impl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>
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<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>
impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>
sourcefn eq(&self, other: &UpdateEmail<'a>) -> bool
fn eq(&self, other: &UpdateEmail<'a>) -> bool
sourceimpl<'a> Serialize for UpdateEmail<'a>
impl<'a> Serialize for UpdateEmail<'a>
impl<'a> Eq for UpdateEmail<'a>
impl<'a> StructuralEq for UpdateEmail<'a>
impl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateEmail<'a>
impl<'a> Send for UpdateEmail<'a>
impl<'a> Sync for UpdateEmail<'a>
impl<'a> Unpin for UpdateEmail<'a>
impl<'a> UnwindSafe for UpdateEmail<'a>
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.