Struct rusoto_docdb::DBClusterSnapshotAttribute
source · [−]pub struct DBClusterSnapshotAttribute {
pub attribute_name: Option<String>,
pub attribute_values: Option<Vec<String>>,
}
Expand description
Contains the name and values of a manual cluster snapshot attribute.
Manual cluster snapshot attributes are used to authorize other accounts to restore a manual cluster snapshot.
Fields
attribute_name: Option<String>
The name of the manual cluster snapshot attribute.
The attribute named restore
refers to the list of accounts that have permission to copy or restore the manual cluster snapshot.
attribute_values: Option<Vec<String>>
The values for the manual cluster snapshot attribute.
If the AttributeName
field is set to restore
, then this element returns a list of IDs of the accounts that are authorized to copy or restore the manual cluster snapshot. If a value of all
is in the list, then the manual cluster snapshot is public and available for any account to copy or restore.
Trait Implementations
sourceimpl Clone for DBClusterSnapshotAttribute
impl Clone for DBClusterSnapshotAttribute
sourcefn clone(&self) -> DBClusterSnapshotAttribute
fn clone(&self) -> DBClusterSnapshotAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DBClusterSnapshotAttribute
impl Debug for DBClusterSnapshotAttribute
sourceimpl Default for DBClusterSnapshotAttribute
impl Default for DBClusterSnapshotAttribute
sourcefn default() -> DBClusterSnapshotAttribute
fn default() -> DBClusterSnapshotAttribute
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DBClusterSnapshotAttribute> for DBClusterSnapshotAttribute
impl PartialEq<DBClusterSnapshotAttribute> for DBClusterSnapshotAttribute
sourcefn eq(&self, other: &DBClusterSnapshotAttribute) -> bool
fn eq(&self, other: &DBClusterSnapshotAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DBClusterSnapshotAttribute) -> bool
fn ne(&self, other: &DBClusterSnapshotAttribute) -> bool
This method tests for !=
.
impl StructuralPartialEq for DBClusterSnapshotAttribute
Auto Trait Implementations
impl RefUnwindSafe for DBClusterSnapshotAttribute
impl Send for DBClusterSnapshotAttribute
impl Sync for DBClusterSnapshotAttribute
impl Unpin for DBClusterSnapshotAttribute
impl UnwindSafe for DBClusterSnapshotAttribute
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> 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.
sourcefn clone_into(&self, target: &mut T)
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