Struct lemmy_api_common::person::PasswordReset
source · pub struct PasswordReset {
pub email: SensitiveString,
}Expand description
Reset your password via email.
Fields§
§email: SensitiveStringTrait Implementations§
source§impl Clone for PasswordReset
impl Clone for PasswordReset
source§fn clone(&self) -> PasswordReset
fn clone(&self) -> PasswordReset
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 PasswordReset
impl Debug for PasswordReset
source§impl Default for PasswordReset
impl Default for PasswordReset
source§fn default() -> PasswordReset
fn default() -> PasswordReset
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PasswordReset
impl<'de> Deserialize<'de> for PasswordReset
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 Hash for PasswordReset
impl Hash for PasswordReset
source§impl PartialEq for PasswordReset
impl PartialEq for PasswordReset
source§fn eq(&self, other: &PasswordReset) -> bool
fn eq(&self, other: &PasswordReset) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PasswordReset
impl Serialize for PasswordReset
impl Eq for PasswordReset
impl StructuralPartialEq for PasswordReset
Auto Trait Implementations§
impl Freeze for PasswordReset
impl RefUnwindSafe for PasswordReset
impl Send for PasswordReset
impl Sync for PasswordReset
impl Unpin for PasswordReset
impl UnwindSafe for PasswordReset
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