Struct aws_sdk_elasticache::types::User
source · #[non_exhaustive]pub struct User {
pub user_id: Option<String>,
pub user_name: Option<String>,
pub status: Option<String>,
pub engine: Option<String>,
pub minimum_engine_version: Option<String>,
pub access_string: Option<String>,
pub user_group_ids: Option<Vec<String>>,
pub authentication: Option<Authentication>,
pub arn: Option<String>,
}
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.user_id: Option<String>
The ID of the user.
user_name: Option<String>
The username of the user.
status: Option<String>
Indicates the user status. Can be "active", "modifying" or "deleting".
engine: Option<String>
The current supported value is Redis.
minimum_engine_version: Option<String>
The minimum engine version required, which is Redis 6.0
access_string: Option<String>
Access permissions string used for this user.
user_group_ids: Option<Vec<String>>
Returns a list of the user group IDs the user belongs to.
authentication: Option<Authentication>
Denotes whether the user requires a password to authenticate.
arn: Option<String>
The Amazon Resource Name (ARN) of the user.
Implementations§
source§impl User
impl User
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
Indicates the user status. Can be "active", "modifying" or "deleting".
sourcepub fn minimum_engine_version(&self) -> Option<&str>
pub fn minimum_engine_version(&self) -> Option<&str>
The minimum engine version required, which is Redis 6.0
sourcepub fn access_string(&self) -> Option<&str>
pub fn access_string(&self) -> Option<&str>
Access permissions string used for this user.
sourcepub fn user_group_ids(&self) -> &[String]
pub fn user_group_ids(&self) -> &[String]
Returns a list of the user group IDs the user belongs to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_group_ids.is_none()
.
sourcepub fn authentication(&self) -> Option<&Authentication>
pub fn authentication(&self) -> Option<&Authentication>
Denotes whether the user requires a password to authenticate.
Trait Implementations§
source§impl PartialEq for User
impl PartialEq for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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