pub struct ChangeAdminAccountPassword {
pub current_password: String,
pub json: Option<bool>,
pub new_password: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§current_password: StringCurrent password
json: Option<bool>Set output format to JSON
new_password: StringNew password
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl ChangeAdminAccountPassword
impl ChangeAdminAccountPassword
pub fn new( current_password: String, new_password: String, ) -> ChangeAdminAccountPassword
Trait Implementations§
Source§impl Clone for ChangeAdminAccountPassword
impl Clone for ChangeAdminAccountPassword
Source§fn clone(&self) -> ChangeAdminAccountPassword
fn clone(&self) -> ChangeAdminAccountPassword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChangeAdminAccountPassword
impl Debug for ChangeAdminAccountPassword
Source§impl Default for ChangeAdminAccountPassword
impl Default for ChangeAdminAccountPassword
Source§fn default() -> ChangeAdminAccountPassword
fn default() -> ChangeAdminAccountPassword
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChangeAdminAccountPassword
impl<'de> Deserialize<'de> for ChangeAdminAccountPassword
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 ChangeAdminAccountPassword
impl PartialEq for ChangeAdminAccountPassword
Source§fn eq(&self, other: &ChangeAdminAccountPassword) -> bool
fn eq(&self, other: &ChangeAdminAccountPassword) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChangeAdminAccountPassword
Auto Trait Implementations§
impl Freeze for ChangeAdminAccountPassword
impl RefUnwindSafe for ChangeAdminAccountPassword
impl Send for ChangeAdminAccountPassword
impl Sync for ChangeAdminAccountPassword
impl Unpin for ChangeAdminAccountPassword
impl UnsafeUnpin for ChangeAdminAccountPassword
impl UnwindSafe for ChangeAdminAccountPassword
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