#[non_exhaustive]pub struct DiskSpec {
pub boot_disk_type: String,
pub boot_disk_size_gb: i32,
/* private fields */
}Available on crate features
job-service or persistent-resource-service only.Expand description
Represents the spec of disk options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.boot_disk_type: StringType 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).
boot_disk_size_gb: i32Size in GB of the boot disk (default is 100GB).
Implementations§
Trait Implementations§
impl StructuralPartialEq for DiskSpec
Auto Trait Implementations§
impl Freeze for DiskSpec
impl RefUnwindSafe for DiskSpec
impl Send for DiskSpec
impl Sync for DiskSpec
impl Unpin for DiskSpec
impl UnwindSafe for DiskSpec
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