pub fn change_password(&self, client: &Client, password: &str) -> Result<()> {
        let args = Query::with("username", self.username.as_str())
            .arg("password", password)
            .build();
        client.get("changePassword", args)?;
        Ok(())
    }
/// Changes the user's password.
///
/// # Errors
///
/// A user may only change their own password, and only if they have the
/// `settings_role` permission, unless they are an administrator.
Changes the user's password.
Changes the user ' s password .
pub fn change_password(&self, client: &Client, password: &str) -> Result<()> {
        let args = Query::with("username", self.username.as_str())
            .arg("password", password)
            .build();
        client.get("changePassword", args)?;
        Ok(())
    }
pub fn change_password ( & self , client : & Client , password : & str ) -> Result < ( ) > { let args = Query :: with ( " " , self . username . as_str ( ) ) . arg ( " " , password ) . build ( ) ; client . get ( " " , args ) ? ; Ok ( ( ) ) }
Changes the user's password.
Changes the user ' s password .
&self
client
&Client
password
&str
&self
client
&Client
password
&str
errors
A user may only change their own password, and only if they have the
`settings_role` permission, unless they are an administrator.
A user may only change their own password and only if they have the ` settings_role ` permission unless they are an administrator .