pub struct VolumeMountConfig {
pub tag: String,
pub mount_point: String,
pub read_only: bool,
}Expand description
Volume mount configuration for cloud-init.
Fields§
§tag: StringVirtioFS tag (matches SharedDir.tag).
mount_point: StringMount point inside the VM.
read_only: boolRead-only mount.
Trait Implementations§
Source§impl Clone for VolumeMountConfig
impl Clone for VolumeMountConfig
Source§fn clone(&self) -> VolumeMountConfig
fn clone(&self) -> VolumeMountConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VolumeMountConfig
impl RefUnwindSafe for VolumeMountConfig
impl Send for VolumeMountConfig
impl Sync for VolumeMountConfig
impl Unpin for VolumeMountConfig
impl UnsafeUnpin for VolumeMountConfig
impl UnwindSafe for VolumeMountConfig
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