Struct aws_sdk_rds::types::DbSnapshotAttributesResult
source · #[non_exhaustive]pub struct DbSnapshotAttributesResult {
pub db_snapshot_identifier: Option<String>,
pub db_snapshot_attributes: Option<Vec<DbSnapshotAttribute>>,
}Expand description
Contains the results of a successful call to the DescribeDBSnapshotAttributes API action.
Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute API action.
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.db_snapshot_identifier: Option<String>The identifier of the manual DB snapshot that the attributes apply to.
db_snapshot_attributes: Option<Vec<DbSnapshotAttribute>>The list of attributes and values for the manual DB snapshot.
Implementations§
source§impl DbSnapshotAttributesResult
impl DbSnapshotAttributesResult
sourcepub fn db_snapshot_identifier(&self) -> Option<&str>
pub fn db_snapshot_identifier(&self) -> Option<&str>
The identifier of the manual DB snapshot that the attributes apply to.
sourcepub fn db_snapshot_attributes(&self) -> &[DbSnapshotAttribute]
pub fn db_snapshot_attributes(&self) -> &[DbSnapshotAttribute]
The list of attributes and values for the manual DB snapshot.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .db_snapshot_attributes.is_none().
source§impl DbSnapshotAttributesResult
impl DbSnapshotAttributesResult
sourcepub fn builder() -> DbSnapshotAttributesResultBuilder
pub fn builder() -> DbSnapshotAttributesResultBuilder
Creates a new builder-style object to manufacture DbSnapshotAttributesResult.
Trait Implementations§
source§impl Clone for DbSnapshotAttributesResult
impl Clone for DbSnapshotAttributesResult
source§fn clone(&self) -> DbSnapshotAttributesResult
fn clone(&self) -> DbSnapshotAttributesResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbSnapshotAttributesResult
impl Debug for DbSnapshotAttributesResult
source§impl PartialEq for DbSnapshotAttributesResult
impl PartialEq for DbSnapshotAttributesResult
source§fn eq(&self, other: &DbSnapshotAttributesResult) -> bool
fn eq(&self, other: &DbSnapshotAttributesResult) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DbSnapshotAttributesResult
Auto Trait Implementations§
impl Freeze for DbSnapshotAttributesResult
impl RefUnwindSafe for DbSnapshotAttributesResult
impl Send for DbSnapshotAttributesResult
impl Sync for DbSnapshotAttributesResult
impl Unpin for DbSnapshotAttributesResult
impl UnwindSafe for DbSnapshotAttributesResult
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