pub struct VolumeAttachment {
pub volume_id: String,
pub path: String,
}Expand description
One attach-at-create instruction: a persistent volume and the absolute in-guest path to mount it at. The mount happens host-side before the guest starts, and survives pause/resume and recreate.
Fields§
§volume_id: StringA vol_… id belonging to your org.
path: StringAbsolute in-guest mount point, e.g. /data.
Trait Implementations§
Source§impl Clone for VolumeAttachment
impl Clone for VolumeAttachment
Source§impl Debug for VolumeAttachment
impl Debug for VolumeAttachment
Source§impl<'de> Deserialize<'de> for VolumeAttachment
impl<'de> Deserialize<'de> for VolumeAttachment
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 VolumeAttachment
impl RefUnwindSafe for VolumeAttachment
impl Send for VolumeAttachment
impl Sync for VolumeAttachment
impl Unpin for VolumeAttachment
impl UnsafeUnpin for VolumeAttachment
impl UnwindSafe for VolumeAttachment
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