pub struct GuestSpec {
pub name: String,
pub mem_mb: u32,
pub cores: u32,
pub disk: String,
pub medium: Option<String>,
pub cdrom_first: bool,
pub rtc_skew_seconds: i64,
}Expand description
What the mock asks a hypervisor for.
Fields§
§name: String§mem_mb: u32§cores: u32§disk: StringThe disk image the server boots.
medium: Option<String>The medium in the cdrom device, if any. None is an ejected drive.
cdrom_first: booltrue while the CD is first in the boot order — behaviour 17’s whole
mechanism.
rtc_skew_seconds: i64Behaviour 19.
Implementations§
Trait Implementations§
impl Eq for GuestSpec
impl StructuralPartialEq for GuestSpec
Auto Trait Implementations§
impl Freeze for GuestSpec
impl RefUnwindSafe for GuestSpec
impl Send for GuestSpec
impl Sync for GuestSpec
impl Unpin for GuestSpec
impl UnsafeUnpin for GuestSpec
impl UnwindSafe for GuestSpec
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