pub struct DiskConfig {
pub path: PathBuf,
pub format: DiskFormat,
}Expand description
Primary guest disk.
Fields§
§path: PathBufHost path to the disk image.
format: DiskFormatDisk image format.
Trait Implementations§
Source§impl Clone for DiskConfig
impl Clone for DiskConfig
Source§impl Debug for DiskConfig
impl Debug for DiskConfig
Source§impl<'de> Deserialize<'de> for DiskConfig
impl<'de> Deserialize<'de> for DiskConfig
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
impl Eq for DiskConfig
Source§impl PartialEq for DiskConfig
impl PartialEq for DiskConfig
Source§impl Serialize for DiskConfig
impl Serialize for DiskConfig
impl StructuralPartialEq for DiskConfig
Auto Trait Implementations§
impl Forget for DiskConfig
impl Freeze for DiskConfig
impl Move for DiskConfig
impl RefUnwindSafe for DiskConfig
impl Send for DiskConfigwhere
RawVecInner: Send,
impl Sync for DiskConfigwhere
RawVecInner: Sync,
impl Unpin for DiskConfig
impl UnsafeUnpin for DiskConfig
impl UnwindSafe for DiskConfigwhere
RawVecInner: UnwindSafe,
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