#[non_exhaustive]pub enum ImportSources {
GcsSource(Box<GcsBackupSource>),
ManagedBackupSource(Box<ManagedBackupSource>),
}Expand description
The source to import from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GcsSource(Box<GcsBackupSource>)
Optional. Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters. Read permission is required to import from the provided Cloud Storage objects.
ManagedBackupSource(Box<ManagedBackupSource>)
Optional. Backups generated and managed by memorystore service.
Trait Implementations§
Source§impl Clone for ImportSources
impl Clone for ImportSources
Source§fn clone(&self) -> ImportSources
fn clone(&self) -> ImportSources
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 ImportSources
impl Debug for ImportSources
Source§impl PartialEq for ImportSources
impl PartialEq for ImportSources
impl StructuralPartialEq for ImportSources
Auto Trait Implementations§
impl Freeze for ImportSources
impl RefUnwindSafe for ImportSources
impl Send for ImportSources
impl Sync for ImportSources
impl Unpin for ImportSources
impl UnwindSafe for ImportSources
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