#[non_exhaustive]pub enum TargetDefaults {
DiskImageTargetDefaults(Box<DiskImageTargetDetails>),
MachineImageTargetDefaults(Box<MachineImageTargetDetails>),
}Expand description
The configuration of the resources that will be created in GCP as a result of the ImageImport.
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.
DiskImageTargetDefaults(Box<DiskImageTargetDetails>)
Immutable. Target details for importing a disk image, will be used by ImageImportJob.
MachineImageTargetDefaults(Box<MachineImageTargetDetails>)
Immutable. Target details for importing a machine image, will be used by ImageImportJob.
Trait Implementations§
Source§impl Clone for TargetDefaults
impl Clone for TargetDefaults
Source§fn clone(&self) -> TargetDefaults
fn clone(&self) -> TargetDefaults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TargetDefaults
impl Debug for TargetDefaults
Source§impl PartialEq for TargetDefaults
impl PartialEq for TargetDefaults
Source§fn eq(&self, other: &TargetDefaults) -> bool
fn eq(&self, other: &TargetDefaults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TargetDefaults
Auto Trait Implementations§
impl Freeze for TargetDefaults
impl RefUnwindSafe for TargetDefaults
impl Send for TargetDefaults
impl Sync for TargetDefaults
impl Unpin for TargetDefaults
impl UnsafeUnpin for TargetDefaults
impl UnwindSafe for TargetDefaults
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