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 ==.