pub struct InstanceVolume {
pub boot: Option<bool>,
pub size_gb: i64,
pub volume_type: Option<String>,
pub performance: Option<VolumePerformanceRequest>,
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<VolumePerformanceRequest>§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.
Trait Implementations§
Source§impl Clone for InstanceVolume
impl Clone for InstanceVolume
Source§impl Debug for InstanceVolume
impl Debug for InstanceVolume
Source§impl<'de> Deserialize<'de> for InstanceVolume
impl<'de> Deserialize<'de> for InstanceVolume
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 InstanceVolume
impl RefUnwindSafe for InstanceVolume
impl Send for InstanceVolume
impl Sync for InstanceVolume
impl Unpin for InstanceVolume
impl UnsafeUnpin for InstanceVolume
impl UnwindSafe for InstanceVolume
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