#[non_exhaustive]pub struct AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute {
pub attribute_name: Option<String>,
pub attribute_values: Option<Vec<String>>,
}
Expand description
Contains the name and values of a manual Amazon Relational Database Service (RDS) DB cluster snapshot attribute.
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.attribute_name: Option<String>
The name of the manual DB cluster snapshot attribute. The attribute named restore
refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot.
attribute_values: Option<Vec<String>>
The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set to restore
, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
Implementations§
source§impl AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
The name of the manual DB cluster snapshot attribute. The attribute named restore
refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot.
sourcepub fn attribute_values(&self) -> &[String]
pub fn attribute_values(&self) -> &[String]
The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set to restore
, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attribute_values.is_none()
.
source§impl AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
sourcepub fn builder() -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
pub fn builder() -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
Creates a new builder-style object to manufacture AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
.
Trait Implementations§
source§impl Clone for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl Clone for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
source§fn clone(&self) -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
fn clone(&self) -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl PartialEq for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
source§fn eq(&self, other: &AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute) -> bool
fn eq(&self, other: &AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
Auto Trait Implementations§
impl Freeze for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl RefUnwindSafe for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl Send for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl Sync for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl Unpin for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
impl UnwindSafe for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
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