#[non_exhaustive]pub struct UpdateBackendAuthPasswordPolicyConfig {
pub additional_constraints: Option<Vec<AdditionalConstraintsElement>>,
pub minimum_length: Option<f64>,
}
Expand description
Describes the password policy for your Amazon Cognito user pool configured as a part of your Amplify project.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.additional_constraints: Option<Vec<AdditionalConstraintsElement>>
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
minimum_length: Option<f64>
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
Implementations§
source§impl UpdateBackendAuthPasswordPolicyConfig
impl UpdateBackendAuthPasswordPolicyConfig
sourcepub fn additional_constraints(&self) -> &[AdditionalConstraintsElement]
pub fn additional_constraints(&self) -> &[AdditionalConstraintsElement]
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_constraints.is_none()
.
sourcepub fn minimum_length(&self) -> Option<f64>
pub fn minimum_length(&self) -> Option<f64>
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
source§impl UpdateBackendAuthPasswordPolicyConfig
impl UpdateBackendAuthPasswordPolicyConfig
sourcepub fn builder() -> UpdateBackendAuthPasswordPolicyConfigBuilder
pub fn builder() -> UpdateBackendAuthPasswordPolicyConfigBuilder
Creates a new builder-style object to manufacture UpdateBackendAuthPasswordPolicyConfig
.
Trait Implementations§
source§impl Clone for UpdateBackendAuthPasswordPolicyConfig
impl Clone for UpdateBackendAuthPasswordPolicyConfig
source§fn clone(&self) -> UpdateBackendAuthPasswordPolicyConfig
fn clone(&self) -> UpdateBackendAuthPasswordPolicyConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateBackendAuthPasswordPolicyConfig
impl PartialEq for UpdateBackendAuthPasswordPolicyConfig
source§fn eq(&self, other: &UpdateBackendAuthPasswordPolicyConfig) -> bool
fn eq(&self, other: &UpdateBackendAuthPasswordPolicyConfig) -> bool
self
and other
values to be equal, and is used
by ==
.