pub struct ChangePasswordReqest {
pub password: String,
pub new_password: String,
pub confirm_new_password: String,
}
Expand description
Data structure used to change password of a registered user
Fields
password: String
current password
new_password: String
new password
confirm_new_password: String
new password confirmation
Trait Implementations
sourceimpl Clone for ChangePasswordReqest
impl Clone for ChangePasswordReqest
sourcefn clone(&self) -> ChangePasswordReqest
fn clone(&self) -> ChangePasswordReqest
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 ChangePasswordReqest
impl Debug for ChangePasswordReqest
sourceimpl<'de> Deserialize<'de> for ChangePasswordReqest
impl<'de> Deserialize<'de> for ChangePasswordReqest
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 Serialize for ChangePasswordReqest
impl Serialize for ChangePasswordReqest
Auto Trait Implementations
impl RefUnwindSafe for ChangePasswordReqest
impl Send for ChangePasswordReqest
impl Sync for ChangePasswordReqest
impl Unpin for ChangePasswordReqest
impl UnwindSafe for ChangePasswordReqest
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