[−][src]Struct rtdlib::types::SetPassword
Changes the password for the user. If a new recovery email address is specified, then the error EMAIL_UNCONFIRMED is returned and the password change will not be applied until the new recovery email address has been confirmed. The application should periodically call getPasswordState to check whether the new email address has been confirmed
Implementations
impl SetPassword
[src]
pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>
[src]
pub fn builder() -> RTDSetPasswordBuilder
[src]
pub fn old_password(&self) -> &String
[src]
pub fn new_password(&self) -> &String
[src]
pub fn new_hint(&self) -> &String
[src]
pub fn set_recovery_email_address(&self) -> bool
[src]
pub fn new_recovery_email_address(&self) -> &String
[src]
Trait Implementations
impl AsRef<SetPassword> for SetPassword
[src]
fn as_ref(&self) -> &SetPassword
[src]
impl Clone for SetPassword
[src]
fn clone(&self) -> SetPassword
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SetPassword
[src]
impl Default for SetPassword
[src]
fn default() -> SetPassword
[src]
impl<'de> Deserialize<'de> for SetPassword
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RFunction for SetPassword
[src]
impl RObject for SetPassword
[src]
impl Serialize for SetPassword
[src]
Auto Trait Implementations
impl RefUnwindSafe for SetPassword
impl Send for SetPassword
impl Sync for SetPassword
impl Unpin for SetPassword
impl UnwindSafe for SetPassword
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,