pub struct PersonPasswordUpdate {
pub new_password: String,
pub new_password_confirm: String,
pub old_password: String,
pub extra: Map<String, Value>,
}Expand description
Password inputs are not trimmed. The minimum length can be configured by the installation.
Fields§
§new_password: StringNew password satisfying the installation’s length and strength rules.
new_password_confirm: StringMust exactly match newPassword.
old_password: StringCurrent password, or an empty string for a password-reset session or initial setup without a password.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonPasswordUpdate
impl Clone for PersonPasswordUpdate
Source§impl Debug for PersonPasswordUpdate
impl Debug for PersonPasswordUpdate
Source§impl Default for PersonPasswordUpdate
impl Default for PersonPasswordUpdate
Source§impl<'de> Deserialize<'de> for PersonPasswordUpdate
impl<'de> Deserialize<'de> for PersonPasswordUpdate
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 PersonPasswordUpdate
impl PartialEq for PersonPasswordUpdate
Source§impl Serialize for PersonPasswordUpdate
impl Serialize for PersonPasswordUpdate
impl StructuralPartialEq for PersonPasswordUpdate
Auto Trait Implementations§
impl Freeze for PersonPasswordUpdate
impl RefUnwindSafe for PersonPasswordUpdate
impl Send for PersonPasswordUpdate
impl Sync for PersonPasswordUpdate
impl Unpin for PersonPasswordUpdate
impl UnsafeUnpin for PersonPasswordUpdate
impl UnwindSafe for PersonPasswordUpdate
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