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
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.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) -> Option<&[String]>
pub fn user_group_ids(&self) -> Option<&[String]>
Returns a list of the user group IDs the user belongs to.
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 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
Mutably borrows from an owned value. Read more