Struct ory_client::models::identity_with_credentials_password_config::IdentityWithCredentialsPasswordConfig
source · pub struct IdentityWithCredentialsPasswordConfig {
pub hashed_password: Option<String>,
pub password: Option<String>,
}
Expand description
IdentityWithCredentialsPasswordConfig : Create Identity and Import Password Credentials Configuration
Fields§
§hashed_password: Option<String>
The hashed password in PHC format
password: Option<String>
The password in plain text if no hash is available.
Implementations§
source§impl IdentityWithCredentialsPasswordConfig
impl IdentityWithCredentialsPasswordConfig
sourcepub fn new() -> IdentityWithCredentialsPasswordConfig
pub fn new() -> IdentityWithCredentialsPasswordConfig
Create Identity and Import Password Credentials Configuration
Trait Implementations§
source§impl Clone for IdentityWithCredentialsPasswordConfig
impl Clone for IdentityWithCredentialsPasswordConfig
source§fn clone(&self) -> IdentityWithCredentialsPasswordConfig
fn clone(&self) -> IdentityWithCredentialsPasswordConfig
Returns a copy 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<'de> Deserialize<'de> for IdentityWithCredentialsPasswordConfig
impl<'de> Deserialize<'de> for IdentityWithCredentialsPasswordConfig
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<IdentityWithCredentialsPasswordConfig> for IdentityWithCredentialsPasswordConfig
impl PartialEq<IdentityWithCredentialsPasswordConfig> for IdentityWithCredentialsPasswordConfig
source§fn eq(&self, other: &IdentityWithCredentialsPasswordConfig) -> bool
fn eq(&self, other: &IdentityWithCredentialsPasswordConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.