#[non_exhaustive]pub struct BackupReencryptionConfig {
pub backup_limit: Option<i32>,
pub backup_type: Option<BackupType>,
/* private fields */
}
Expand description
Backup Reencryption Config
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_limit: Option<i32>
Backup re-encryption limit
backup_type: Option<BackupType>
Type of backups users want to re-encrypt.
Implementations§
Source§impl BackupReencryptionConfig
impl BackupReencryptionConfig
pub fn new() -> Self
Sourcepub fn set_backup_limit<T>(self, v: T) -> Self
pub fn set_backup_limit<T>(self, v: T) -> Self
Sets the value of backup_limit.
Sourcepub fn set_or_clear_backup_limit<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_backup_limit<T>(self, v: Option<T>) -> Self
Sets or clears the value of backup_limit.
Sourcepub fn set_backup_type<T>(self, v: T) -> Selfwhere
T: Into<BackupType>,
pub fn set_backup_type<T>(self, v: T) -> Selfwhere
T: Into<BackupType>,
Sets the value of backup_type.
Sourcepub fn set_or_clear_backup_type<T>(self, v: Option<T>) -> Selfwhere
T: Into<BackupType>,
pub fn set_or_clear_backup_type<T>(self, v: Option<T>) -> Selfwhere
T: Into<BackupType>,
Sets or clears the value of backup_type.
Trait Implementations§
Source§impl Clone for BackupReencryptionConfig
impl Clone for BackupReencryptionConfig
Source§fn clone(&self) -> BackupReencryptionConfig
fn clone(&self) -> BackupReencryptionConfig
Returns a duplicate 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 BackupReencryptionConfig
impl Debug for BackupReencryptionConfig
Source§impl Default for BackupReencryptionConfig
impl Default for BackupReencryptionConfig
Source§fn default() -> BackupReencryptionConfig
fn default() -> BackupReencryptionConfig
Returns the “default value” for a type. Read more
Source§impl Message for BackupReencryptionConfig
impl Message for BackupReencryptionConfig
Source§impl PartialEq for BackupReencryptionConfig
impl PartialEq for BackupReencryptionConfig
impl StructuralPartialEq for BackupReencryptionConfig
Auto Trait Implementations§
impl Freeze for BackupReencryptionConfig
impl RefUnwindSafe for BackupReencryptionConfig
impl Send for BackupReencryptionConfig
impl Sync for BackupReencryptionConfig
impl Unpin for BackupReencryptionConfig
impl UnwindSafe for BackupReencryptionConfig
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