Struct aws_sdk_elasticache::types::AuthenticationMode
source · #[non_exhaustive]pub struct AuthenticationMode {
pub type: Option<InputAuthenticationType>,
pub passwords: Option<Vec<String>>,
}
Expand description
Specifies the authentication mode to use.
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.type: Option<InputAuthenticationType>
Specifies the authentication type. Possible options are IAM authentication, password and no password.
passwords: Option<Vec<String>>
Specifies the passwords to use for authentication if Type
is set to password
.
Implementations§
source§impl AuthenticationMode
impl AuthenticationMode
sourcepub fn type(&self) -> Option<&InputAuthenticationType>
pub fn type(&self) -> Option<&InputAuthenticationType>
Specifies the authentication type. Possible options are IAM authentication, password and no password.
source§impl AuthenticationMode
impl AuthenticationMode
sourcepub fn builder() -> AuthenticationModeBuilder
pub fn builder() -> AuthenticationModeBuilder
Creates a new builder-style object to manufacture AuthenticationMode
.
Trait Implementations§
source§impl Clone for AuthenticationMode
impl Clone for AuthenticationMode
source§fn clone(&self) -> AuthenticationMode
fn clone(&self) -> AuthenticationMode
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 Debug for AuthenticationMode
impl Debug for AuthenticationMode
source§impl PartialEq for AuthenticationMode
impl PartialEq for AuthenticationMode
source§fn eq(&self, other: &AuthenticationMode) -> bool
fn eq(&self, other: &AuthenticationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthenticationMode
Auto Trait Implementations§
impl RefUnwindSafe for AuthenticationMode
impl Send for AuthenticationMode
impl Sync for AuthenticationMode
impl Unpin for AuthenticationMode
impl UnwindSafe for AuthenticationMode
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.