Struct rusoto_rds::DBSnapshotAttribute
source · [−]pub struct DBSnapshotAttribute {
pub attribute_name: Option<String>,
pub attribute_values: Option<Vec<String>>,
}
Expand description
Contains the name and values of a manual DB snapshot attribute
Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute
API.
Fields
attribute_name: Option<String>
The name of the manual DB 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. For more information, see the ModifyDBSnapshotAttribute
API action.
attribute_values: Option<Vec<String>>
The value or values for the manual DB 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 snapshot. If a value of all
is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore.
Trait Implementations
sourceimpl Clone for DBSnapshotAttribute
impl Clone for DBSnapshotAttribute
sourcefn clone(&self) -> DBSnapshotAttribute
fn clone(&self) -> DBSnapshotAttribute
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 DBSnapshotAttribute
impl Debug for DBSnapshotAttribute
sourceimpl Default for DBSnapshotAttribute
impl Default for DBSnapshotAttribute
sourcefn default() -> DBSnapshotAttribute
fn default() -> DBSnapshotAttribute
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DBSnapshotAttribute> for DBSnapshotAttribute
impl PartialEq<DBSnapshotAttribute> for DBSnapshotAttribute
sourcefn eq(&self, other: &DBSnapshotAttribute) -> bool
fn eq(&self, other: &DBSnapshotAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DBSnapshotAttribute) -> bool
fn ne(&self, other: &DBSnapshotAttribute) -> bool
This method tests for !=
.
impl StructuralPartialEq for DBSnapshotAttribute
Auto Trait Implementations
impl RefUnwindSafe for DBSnapshotAttribute
impl Send for DBSnapshotAttribute
impl Sync for DBSnapshotAttribute
impl Unpin for DBSnapshotAttribute
impl UnwindSafe for DBSnapshotAttribute
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