Struct aws_sdk_memorydb::model::User
source · [−]#[non_exhaustive]pub struct User {
pub name: Option<String>,
pub status: Option<String>,
pub access_string: Option<String>,
pub acl_names: Option<Vec<String>>,
pub minimum_engine_version: Option<String>,
pub authentication: Option<Authentication>,
pub arn: Option<String>,
}Expand description
You create users and assign them specific permissions by using an access string. You assign the users to Access Control Lists aligned with a specific role (administrators, human resources) that are then deployed to one or more MemoryDB clusters.
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.name: Option<String>The name of the user
status: Option<String>Indicates the user status. Can be "active", "modifying" or "deleting".
access_string: Option<String>Access permissions string used for this user.
acl_names: Option<Vec<String>>The names of the Access Control Lists to which the user belongs
minimum_engine_version: Option<String>The minimum engine version supported for the user
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 access_string(&self) -> Option<&str>
pub fn access_string(&self) -> Option<&str>
Access permissions string used for this user.
sourcepub fn acl_names(&self) -> Option<&[String]>
pub fn acl_names(&self) -> Option<&[String]>
The names of the Access Control Lists to which the user belongs
sourcepub fn minimum_engine_version(&self) -> Option<&str>
pub fn minimum_engine_version(&self) -> Option<&str>
The minimum engine version supported for the user
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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