Struct google_ml1::api::GoogleCloudMlV1__DiskConfig
source · pub struct GoogleCloudMlV1__DiskConfig {
pub boot_disk_size_gb: Option<i32>,
pub boot_disk_type: Option<String>,
}
Expand description
Represents the config of disk options.
This type is not used in any activity, and only used as part of another schema.
Fields§
§boot_disk_size_gb: Option<i32>
Size in GB of the boot disk (default is 100GB).
boot_disk_type: Option<String>
Type of the boot disk (default is “pd-ssd”). Valid values: “pd-ssd” (Persistent Disk Solid State Drive) or “pd-standard” (Persistent Disk Hard Disk Drive).
Trait Implementations§
source§impl Clone for GoogleCloudMlV1__DiskConfig
impl Clone for GoogleCloudMlV1__DiskConfig
source§fn clone(&self) -> GoogleCloudMlV1__DiskConfig
fn clone(&self) -> GoogleCloudMlV1__DiskConfig
Returns a copy 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 GoogleCloudMlV1__DiskConfig
impl Debug for GoogleCloudMlV1__DiskConfig
source§impl Default for GoogleCloudMlV1__DiskConfig
impl Default for GoogleCloudMlV1__DiskConfig
source§fn default() -> GoogleCloudMlV1__DiskConfig
fn default() -> GoogleCloudMlV1__DiskConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudMlV1__DiskConfig
impl<'de> Deserialize<'de> for GoogleCloudMlV1__DiskConfig
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 GoogleCloudMlV1__DiskConfig
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudMlV1__DiskConfig
impl Send for GoogleCloudMlV1__DiskConfig
impl Sync for GoogleCloudMlV1__DiskConfig
impl Unpin for GoogleCloudMlV1__DiskConfig
impl UnwindSafe for GoogleCloudMlV1__DiskConfig
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