pub struct ComputeEngineDisk {
pub disk_id: Option<String>,
pub disk_type: Option<String>,
pub replica_zones: Option<Vec<String>>,
pub zone: Option<String>,
}Expand description
Compute Engine disk target details.
This type is not used in any activity, and only used as part of another schema.
Fields§
§disk_id: Option<String>Optional. Target Compute Engine Disk ID. This is the resource ID segment of the Compute Engine Disk to create. In the resource name compute/v1/projects/{project}/zones/{zone}/disks/disk1 “disk1” is the resource ID for the disk.
disk_type: Option<String>Required. The disk type to use.
replica_zones: Option<Vec<String>>Optional. Replication zones of the regional disk. Should be of the form: projects/{target-project}/locations/{replica-zone} Currently only one replica zone is supported.
zone: Option<String>Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}
Trait Implementations§
Source§impl Clone for ComputeEngineDisk
impl Clone for ComputeEngineDisk
Source§fn clone(&self) -> ComputeEngineDisk
fn clone(&self) -> ComputeEngineDisk
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 ComputeEngineDisk
impl Debug for ComputeEngineDisk
Source§impl Default for ComputeEngineDisk
impl Default for ComputeEngineDisk
Source§fn default() -> ComputeEngineDisk
fn default() -> ComputeEngineDisk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComputeEngineDisk
impl<'de> Deserialize<'de> for ComputeEngineDisk
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
Source§impl Serialize for ComputeEngineDisk
impl Serialize for ComputeEngineDisk
impl Part for ComputeEngineDisk
Auto Trait Implementations§
impl Freeze for ComputeEngineDisk
impl RefUnwindSafe for ComputeEngineDisk
impl Send for ComputeEngineDisk
impl Sync for ComputeEngineDisk
impl Unpin for ComputeEngineDisk
impl UnwindSafe for ComputeEngineDisk
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