pub struct AttachInstanceVolumeRequest {
pub volume: String,
pub device: Option<String>,
pub mount_path: Option<String>,
pub fstype: Option<AttachInstanceVolumeRequestFstype>,
}Fields§
§volume: StringAccount-scoped volume reference (UUID, CRN or exact name).
device: Option<String>Optional device-name override; auto-picks the next free slot (vdb/vdc/…) when omitted.
mount_path: Option<String>When set, the in-guest agent formats the disk (only if blank) and mounts it at this path. Empty attaches the block device only.
fstype: Option<AttachInstanceVolumeRequestFstype>Filesystem the in-guest agent formats the disk with, and only when mount_path is set and the disk is blank. Rejected with 400 if it is neither value.
Implementations§
Trait Implementations§
Source§impl Clone for AttachInstanceVolumeRequest
impl Clone for AttachInstanceVolumeRequest
Source§impl Debug for AttachInstanceVolumeRequest
impl Debug for AttachInstanceVolumeRequest
Source§impl<'de> Deserialize<'de> for AttachInstanceVolumeRequest
impl<'de> Deserialize<'de> for AttachInstanceVolumeRequest
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 AttachInstanceVolumeRequest
impl RefUnwindSafe for AttachInstanceVolumeRequest
impl Send for AttachInstanceVolumeRequest
impl Sync for AttachInstanceVolumeRequest
impl Unpin for AttachInstanceVolumeRequest
impl UnsafeUnpin for AttachInstanceVolumeRequest
impl UnwindSafe for AttachInstanceVolumeRequest
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