#[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
impl StructuralPartialEq for ModifyBackupAttributesInput
Auto Trait Implementations§
impl Freeze for ModifyBackupAttributesInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.