pub struct InstanceVolumeInput {
pub boot: Option<bool>,
pub size_gb: i64,
pub volume_type: Option<String>,
pub performance: Option<VolumePerformanceRequestInput>,
pub mount_path: Option<String>,
pub fstype: Option<String>,
pub delete_on_termination: Option<bool>,
}Fields§
§boot: Option<bool>Marks the boot disk. It takes no mount_path or fstype — both come from the image — and sending either is refused rather than ignored.
size_gb: i64§volume_type: Option<String>Tier; omitted = the region default.
performance: Option<VolumePerformanceRequestInput>§mount_path: Option<String>§fstype: Option<String>Filesystem the in-guest agent formats the volume with.
delete_on_termination: Option<bool>Destroyed with the instance unless set false.
Implementations§
Trait Implementations§
Source§impl Clone for InstanceVolumeInput
impl Clone for InstanceVolumeInput
Source§impl Debug for InstanceVolumeInput
impl Debug for InstanceVolumeInput
Source§impl<'de> Deserialize<'de> for InstanceVolumeInput
impl<'de> Deserialize<'de> for InstanceVolumeInput
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
Auto Trait Implementations§
impl Freeze for InstanceVolumeInput
impl RefUnwindSafe for InstanceVolumeInput
impl Send for InstanceVolumeInput
impl Sync for InstanceVolumeInput
impl Unpin for InstanceVolumeInput
impl UnsafeUnpin for InstanceVolumeInput
impl UnwindSafe for InstanceVolumeInput
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