Struct aws_sdk_elasticache::model::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
sourceimpl 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
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
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