pub struct PasswordUpdate {
pub current_password: Option<String>,
pub new_password: String,
}
Fields§
§current_password: Option<String>
§new_password: String
Trait Implementations§
Source§impl Clone for PasswordUpdate
impl Clone for PasswordUpdate
Source§fn clone(&self) -> PasswordUpdate
fn clone(&self) -> PasswordUpdate
Returns a duplicate 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 PasswordUpdate
impl Debug for PasswordUpdate
Source§impl<'de> Deserialize<'de> for PasswordUpdate
impl<'de> Deserialize<'de> for PasswordUpdate
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
Auto Trait Implementations§
impl Freeze for PasswordUpdate
impl RefUnwindSafe for PasswordUpdate
impl Send for PasswordUpdate
impl Sync for PasswordUpdate
impl Unpin for PasswordUpdate
impl UnwindSafe for PasswordUpdate
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