#[non_exhaustive]pub struct UpdateBackendAuthPasswordPolicyConfig {
pub additional_constraints: Option<Vec<AdditionalConstraintsElement>>,
pub minimum_length: 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: 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
sourceimpl UpdateBackendAuthPasswordPolicyConfig
impl UpdateBackendAuthPasswordPolicyConfig
sourcepub fn additional_constraints(&self) -> Option<&[AdditionalConstraintsElement]>
pub fn additional_constraints(&self) -> Option<&[AdditionalConstraintsElement]>
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
sourcepub fn minimum_length(&self) -> f64
pub fn minimum_length(&self) -> f64
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
sourceimpl UpdateBackendAuthPasswordPolicyConfig
impl UpdateBackendAuthPasswordPolicyConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateBackendAuthPasswordPolicyConfig
Trait Implementations
sourceimpl Clone for UpdateBackendAuthPasswordPolicyConfig
impl Clone for UpdateBackendAuthPasswordPolicyConfig
sourcefn clone(&self) -> UpdateBackendAuthPasswordPolicyConfig
fn clone(&self) -> UpdateBackendAuthPasswordPolicyConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<UpdateBackendAuthPasswordPolicyConfig> for UpdateBackendAuthPasswordPolicyConfig
impl PartialEq<UpdateBackendAuthPasswordPolicyConfig> for UpdateBackendAuthPasswordPolicyConfig
sourcefn eq(&self, other: &UpdateBackendAuthPasswordPolicyConfig) -> bool
fn eq(&self, other: &UpdateBackendAuthPasswordPolicyConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateBackendAuthPasswordPolicyConfig) -> bool
fn ne(&self, other: &UpdateBackendAuthPasswordPolicyConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateBackendAuthPasswordPolicyConfig
Auto Trait Implementations
impl RefUnwindSafe for UpdateBackendAuthPasswordPolicyConfig
impl Send for UpdateBackendAuthPasswordPolicyConfig
impl Sync for UpdateBackendAuthPasswordPolicyConfig
impl Unpin for UpdateBackendAuthPasswordPolicyConfig
impl UnwindSafe for UpdateBackendAuthPasswordPolicyConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more