#[non_exhaustive]pub struct CreateBackendAuthPasswordPolicyConfig {
pub additional_constraints: Option<Vec<AdditionalConstraintsElement>>,
pub minimum_length: Option<f64>,
}
Expand description
The password policy configuration for the backend to your Amplify project.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.additional_constraints: Option<Vec<AdditionalConstraintsElement>>
Additional constraints for the password used to access the backend of your Amplify project.
minimum_length: Option<f64>
The minimum length of the password used to access the backend of your Amplify project.
Implementations§
source§impl CreateBackendAuthPasswordPolicyConfig
impl CreateBackendAuthPasswordPolicyConfig
sourcepub fn additional_constraints(&self) -> &[AdditionalConstraintsElement]
pub fn additional_constraints(&self) -> &[AdditionalConstraintsElement]
Additional constraints for the password used to access the backend 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>
The minimum length of the password used to access the backend of your Amplify project.
source§impl CreateBackendAuthPasswordPolicyConfig
impl CreateBackendAuthPasswordPolicyConfig
sourcepub fn builder() -> CreateBackendAuthPasswordPolicyConfigBuilder
pub fn builder() -> CreateBackendAuthPasswordPolicyConfigBuilder
Creates a new builder-style object to manufacture CreateBackendAuthPasswordPolicyConfig
.
Trait Implementations§
source§impl Clone for CreateBackendAuthPasswordPolicyConfig
impl Clone for CreateBackendAuthPasswordPolicyConfig
source§fn clone(&self) -> CreateBackendAuthPasswordPolicyConfig
fn clone(&self) -> CreateBackendAuthPasswordPolicyConfig
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 PartialEq for CreateBackendAuthPasswordPolicyConfig
impl PartialEq for CreateBackendAuthPasswordPolicyConfig
source§fn eq(&self, other: &CreateBackendAuthPasswordPolicyConfig) -> bool
fn eq(&self, other: &CreateBackendAuthPasswordPolicyConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateBackendAuthPasswordPolicyConfig
Auto Trait Implementations§
impl RefUnwindSafe for CreateBackendAuthPasswordPolicyConfig
impl Send for CreateBackendAuthPasswordPolicyConfig
impl Sync for CreateBackendAuthPasswordPolicyConfig
impl Unpin for CreateBackendAuthPasswordPolicyConfig
impl UnwindSafe for CreateBackendAuthPasswordPolicyConfig
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
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>
Creates a shared type from an unshared type.