pub struct SetPasswordArgs {
pub user_name: String,
pub new_password: String,
pub old_password: Option<String>,
pub user_owner: Option<String>,
}
Fields§
§user_name: String
§new_password: String
§old_password: Option<String>
§user_owner: Option<String>
Trait Implementations§
Source§impl Clone for SetPasswordArgs
impl Clone for SetPasswordArgs
Source§fn clone(&self) -> SetPasswordArgs
fn clone(&self) -> SetPasswordArgs
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 SetPasswordArgs
impl Debug for SetPasswordArgs
Source§impl Default for SetPasswordArgs
impl Default for SetPasswordArgs
Source§fn default() -> SetPasswordArgs
fn default() -> SetPasswordArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetPasswordArgs
impl<'de> Deserialize<'de> for SetPasswordArgs
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 PartialEq for SetPasswordArgs
impl PartialEq for SetPasswordArgs
Source§impl Serialize for SetPasswordArgs
impl Serialize for SetPasswordArgs
impl Eq for SetPasswordArgs
impl StructuralPartialEq for SetPasswordArgs
Auto Trait Implementations§
impl Freeze for SetPasswordArgs
impl RefUnwindSafe for SetPasswordArgs
impl Send for SetPasswordArgs
impl Sync for SetPasswordArgs
impl Unpin for SetPasswordArgs
impl UnwindSafe for SetPasswordArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.