Struct aws_sdk_memorydb::operation::create_acl::CreateAclInput
source · #[non_exhaustive]pub struct CreateAclInput {
pub acl_name: Option<String>,
pub user_names: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}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.acl_name: Option<String>The name of the Access Control List.
user_names: Option<Vec<String>>The list of users that belong to the Access Control List.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Implementations§
source§impl CreateAclInput
impl CreateAclInput
sourcepub fn user_names(&self) -> &[String]
pub fn user_names(&self) -> &[String]
The list of users that belong to the Access Control List.
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_names.is_none().
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateAclInput
impl CreateAclInput
sourcepub fn builder() -> CreateAclInputBuilder
pub fn builder() -> CreateAclInputBuilder
Creates a new builder-style object to manufacture CreateAclInput.
Trait Implementations§
source§impl Clone for CreateAclInput
impl Clone for CreateAclInput
source§fn clone(&self) -> CreateAclInput
fn clone(&self) -> CreateAclInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateAclInput
impl Debug for CreateAclInput
source§impl PartialEq for CreateAclInput
impl PartialEq for CreateAclInput
source§fn eq(&self, other: &CreateAclInput) -> bool
fn eq(&self, other: &CreateAclInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateAclInput
Auto Trait Implementations§
impl Freeze for CreateAclInput
impl RefUnwindSafe for CreateAclInput
impl Send for CreateAclInput
impl Sync for CreateAclInput
impl Unpin for CreateAclInput
impl UnwindSafe for CreateAclInput
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> 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