pub struct UpdateUserPasswordParams {
pub user_id: i32,
pub password: PasswordReq,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method update_user_password
Fields§
§user_id: i32§password: PasswordReqPassword to be updated, the attribute ‘old_password’ is optional when the API is called by the system administrator.
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for UpdateUserPasswordParams
impl Clone for UpdateUserPasswordParams
Source§fn clone(&self) -> UpdateUserPasswordParams
fn clone(&self) -> UpdateUserPasswordParams
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 moreAuto Trait Implementations§
impl Freeze for UpdateUserPasswordParams
impl RefUnwindSafe for UpdateUserPasswordParams
impl Send for UpdateUserPasswordParams
impl Sync for UpdateUserPasswordParams
impl Unpin for UpdateUserPasswordParams
impl UnwindSafe for UpdateUserPasswordParams
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