#[non_exhaustive]pub struct ModifyBackupAttributesInput {
pub backup_id: Option<String>,
pub never_expires: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.backup_id: Option<String>The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.
never_expires: Option<bool>Specifies whether the service should exempt a backup from the retention policy for the cluster. True exempts a backup from the retention policy. False means the service applies the backup retention policy defined at the cluster.
Implementations§
source§impl ModifyBackupAttributesInput
impl ModifyBackupAttributesInput
sourcepub fn backup_id(&self) -> Option<&str>
pub fn backup_id(&self) -> Option<&str>
The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.
sourcepub fn never_expires(&self) -> Option<bool>
pub fn never_expires(&self) -> Option<bool>
Specifies whether the service should exempt a backup from the retention policy for the cluster. True exempts a backup from the retention policy. False means the service applies the backup retention policy defined at the cluster.
source§impl ModifyBackupAttributesInput
impl ModifyBackupAttributesInput
sourcepub fn builder() -> ModifyBackupAttributesInputBuilder
pub fn builder() -> ModifyBackupAttributesInputBuilder
Creates a new builder-style object to manufacture ModifyBackupAttributesInput.
Trait Implementations§
source§impl Clone for ModifyBackupAttributesInput
impl Clone for ModifyBackupAttributesInput
source§fn clone(&self) -> ModifyBackupAttributesInput
fn clone(&self) -> ModifyBackupAttributesInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ModifyBackupAttributesInput
impl Debug for ModifyBackupAttributesInput
source§impl PartialEq for ModifyBackupAttributesInput
impl PartialEq for ModifyBackupAttributesInput
source§fn eq(&self, other: &ModifyBackupAttributesInput) -> bool
fn eq(&self, other: &ModifyBackupAttributesInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyBackupAttributesInput
Auto Trait Implementations§
impl RefUnwindSafe for ModifyBackupAttributesInput
impl Send for ModifyBackupAttributesInput
impl Sync for ModifyBackupAttributesInput
impl Unpin for ModifyBackupAttributesInput
impl UnwindSafe for ModifyBackupAttributesInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.