pub struct IdentityCredentialsPassword {
pub hashed_password: Option<String>,
pub use_password_migration_hook: Option<bool>,
}Fields§
§hashed_password: Option<String>HashedPassword is a hash-representation of the password.
use_password_migration_hook: Option<bool>UsePasswordMigrationHook is set to true if the password should be migrated using the password migration hook. If set, and the HashedPassword is empty, a webhook will be called during login to migrate the password.
Implementations§
Source§impl IdentityCredentialsPassword
impl IdentityCredentialsPassword
pub fn new() -> IdentityCredentialsPassword
Trait Implementations§
Source§impl Clone for IdentityCredentialsPassword
impl Clone for IdentityCredentialsPassword
Source§fn clone(&self) -> IdentityCredentialsPassword
fn clone(&self) -> IdentityCredentialsPassword
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 moreSource§impl Debug for IdentityCredentialsPassword
impl Debug for IdentityCredentialsPassword
Source§impl Default for IdentityCredentialsPassword
impl Default for IdentityCredentialsPassword
Source§fn default() -> IdentityCredentialsPassword
fn default() -> IdentityCredentialsPassword
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdentityCredentialsPassword
impl<'de> Deserialize<'de> for IdentityCredentialsPassword
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
impl StructuralPartialEq for IdentityCredentialsPassword
Auto Trait Implementations§
impl Freeze for IdentityCredentialsPassword
impl RefUnwindSafe for IdentityCredentialsPassword
impl Send for IdentityCredentialsPassword
impl Sync for IdentityCredentialsPassword
impl Unpin for IdentityCredentialsPassword
impl UnwindSafe for IdentityCredentialsPassword
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