Struct aws_sdk_elasticache::types::UserGroup
source · #[non_exhaustive]pub struct UserGroup {
pub user_group_id: Option<String>,
pub status: Option<String>,
pub engine: Option<String>,
pub user_ids: Option<Vec<String>>,
pub minimum_engine_version: Option<String>,
pub pending_changes: Option<UserGroupPendingChanges>,
pub replication_groups: Option<Vec<String>>,
pub serverless_caches: Option<Vec<String>>,
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_group_id: Option<String>
The ID of the user group.
status: Option<String>
Indicates user group status. Can be "creating", "active", "modifying", "deleting".
engine: Option<String>
The current supported value is Redis.
user_ids: Option<Vec<String>>
The list of user IDs that belong to the user group.
minimum_engine_version: Option<String>
The minimum engine version required, which is Redis 6.0
pending_changes: Option<UserGroupPendingChanges>
A list of updates being applied to the user group.
replication_groups: Option<Vec<String>>
A list of replication groups that the user group can access.
serverless_caches: Option<Vec<String>>
Indicates which serverless caches the specified user group is associated with. Available for Redis only.
arn: Option<String>
The Amazon Resource Name (ARN) of the user group.
Implementations§
source§impl UserGroup
impl UserGroup
sourcepub fn user_group_id(&self) -> Option<&str>
pub fn user_group_id(&self) -> Option<&str>
The ID of the user group.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
Indicates user group status. Can be "creating", "active", "modifying", "deleting".
sourcepub fn user_ids(&self) -> &[String]
pub fn user_ids(&self) -> &[String]
The list of user IDs that belong to the user group.
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_ids.is_none()
.
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 pending_changes(&self) -> Option<&UserGroupPendingChanges>
pub fn pending_changes(&self) -> Option<&UserGroupPendingChanges>
A list of updates being applied to the user group.
sourcepub fn replication_groups(&self) -> &[String]
pub fn replication_groups(&self) -> &[String]
A list of replication groups that the user group can access.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replication_groups.is_none()
.
sourcepub fn serverless_caches(&self) -> &[String]
pub fn serverless_caches(&self) -> &[String]
Indicates which serverless caches the specified user group is associated with. Available for Redis only.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .serverless_caches.is_none()
.
Trait Implementations§
source§impl PartialEq for UserGroup
impl PartialEq for UserGroup
impl StructuralPartialEq for UserGroup
Auto Trait Implementations§
impl Freeze for UserGroup
impl RefUnwindSafe for UserGroup
impl Send for UserGroup
impl Sync for UserGroup
impl Unpin for UserGroup
impl UnwindSafe for UserGroup
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