#[non_exhaustive]pub struct GetRandomPasswordInput {
pub password_length: Option<i64>,
pub exclude_characters: Option<String>,
pub exclude_numbers: Option<bool>,
pub exclude_punctuation: Option<bool>,
pub exclude_uppercase: Option<bool>,
pub exclude_lowercase: Option<bool>,
pub include_space: Option<bool>,
pub require_each_included_type: Option<bool>,
}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.password_length: Option<i64>The length of the password. If you don't include this parameter, the default length is 32 characters.
exclude_characters: Option<String>A string of the characters that you don't want in the password.
exclude_numbers: Option<bool>Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.
exclude_punctuation: Option<bool>Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. If you don't include this switch, the password can contain punctuation.
exclude_uppercase: Option<bool>Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.
exclude_lowercase: Option<bool>Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.
include_space: Option<bool>Specifies whether to include the space character. If you include this switch, the password can contain space characters.
require_each_included_type: Option<bool>Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.
Implementations
sourceimpl GetRandomPasswordInput
impl GetRandomPasswordInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRandomPassword, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRandomPassword, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetRandomPassword>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetRandomPasswordInput
sourceimpl GetRandomPasswordInput
impl GetRandomPasswordInput
sourcepub fn password_length(&self) -> Option<i64>
pub fn password_length(&self) -> Option<i64>
The length of the password. If you don't include this parameter, the default length is 32 characters.
sourcepub fn exclude_characters(&self) -> Option<&str>
pub fn exclude_characters(&self) -> Option<&str>
A string of the characters that you don't want in the password.
sourcepub fn exclude_numbers(&self) -> Option<bool>
pub fn exclude_numbers(&self) -> Option<bool>
Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.
sourcepub fn exclude_punctuation(&self) -> Option<bool>
pub fn exclude_punctuation(&self) -> Option<bool>
Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. If you don't include this switch, the password can contain punctuation.
sourcepub fn exclude_uppercase(&self) -> Option<bool>
pub fn exclude_uppercase(&self) -> Option<bool>
Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.
sourcepub fn exclude_lowercase(&self) -> Option<bool>
pub fn exclude_lowercase(&self) -> Option<bool>
Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.
sourcepub fn include_space(&self) -> Option<bool>
pub fn include_space(&self) -> Option<bool>
Specifies whether to include the space character. If you include this switch, the password can contain space characters.
sourcepub fn require_each_included_type(&self) -> Option<bool>
pub fn require_each_included_type(&self) -> Option<bool>
Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.
Trait Implementations
sourceimpl Clone for GetRandomPasswordInput
impl Clone for GetRandomPasswordInput
sourcefn clone(&self) -> GetRandomPasswordInput
fn clone(&self) -> GetRandomPasswordInput
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 Debug for GetRandomPasswordInput
impl Debug for GetRandomPasswordInput
sourceimpl PartialEq<GetRandomPasswordInput> for GetRandomPasswordInput
impl PartialEq<GetRandomPasswordInput> for GetRandomPasswordInput
sourcefn eq(&self, other: &GetRandomPasswordInput) -> bool
fn eq(&self, other: &GetRandomPasswordInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetRandomPasswordInput) -> bool
fn ne(&self, other: &GetRandomPasswordInput) -> bool
This method tests for !=.
impl StructuralPartialEq for GetRandomPasswordInput
Auto Trait Implementations
impl RefUnwindSafe for GetRandomPasswordInput
impl Send for GetRandomPasswordInput
impl Sync for GetRandomPasswordInput
impl Unpin for GetRandomPasswordInput
impl UnwindSafe for GetRandomPasswordInput
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