pub struct DiskMigrationJobTargetDetails {
pub encryption: Option<Encryption>,
pub labels: Option<HashMap<String, String>>,
pub target_disk: Option<ComputeEngineDisk>,
pub target_project: Option<String>,
}Expand description
Details of the target disk in Compute Engine.
This type is not used in any activity, and only used as part of another schema.
Fields§
§encryption: Option<Encryption>Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
labels: Option<HashMap<String, String>>Optional. A map of labels to associate with the disk.
target_disk: Option<ComputeEngineDisk>Required. The target disk.
target_project: Option<String>Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}
Trait Implementations§
Source§impl Clone for DiskMigrationJobTargetDetails
impl Clone for DiskMigrationJobTargetDetails
Source§fn clone(&self) -> DiskMigrationJobTargetDetails
fn clone(&self) -> DiskMigrationJobTargetDetails
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 Default for DiskMigrationJobTargetDetails
impl Default for DiskMigrationJobTargetDetails
Source§fn default() -> DiskMigrationJobTargetDetails
fn default() -> DiskMigrationJobTargetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiskMigrationJobTargetDetails
impl<'de> Deserialize<'de> for DiskMigrationJobTargetDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for DiskMigrationJobTargetDetails
Auto Trait Implementations§
impl Freeze for DiskMigrationJobTargetDetails
impl RefUnwindSafe for DiskMigrationJobTargetDetails
impl Send for DiskMigrationJobTargetDetails
impl Sync for DiskMigrationJobTargetDetails
impl Unpin for DiskMigrationJobTargetDetails
impl UnwindSafe for DiskMigrationJobTargetDetails
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