#[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 ==
.impl StructuralPartialEq for UpdateBackendAuthPasswordPolicyConfig
Auto Trait Implementations§
impl Freeze for UpdateBackendAuthPasswordPolicyConfig
impl RefUnwindSafe for UpdateBackendAuthPasswordPolicyConfig
impl Send for UpdateBackendAuthPasswordPolicyConfig
impl Sync for UpdateBackendAuthPasswordPolicyConfig
impl Unpin for UpdateBackendAuthPasswordPolicyConfig
impl UnwindSafe for UpdateBackendAuthPasswordPolicyConfig
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more