Struct oci_spec::runtime::WindowsHyperV
source · pub struct WindowsHyperV { /* private fields */ }
Expand description
WindowsHyperV contains information for configuring a container to run with Hyper-V isolation.
Implementations§
source§impl WindowsHyperV
impl WindowsHyperV
sourcepub fn utility_vm_path(&self) -> &Option<String>
pub fn utility_vm_path(&self) -> &Option<String>
UtilityVMPath is an optional path to the image used for the Utility VM.
source§impl WindowsHyperV
impl WindowsHyperV
sourcepub fn set_utility_vm_path(&mut self, val: Option<String>) -> &mut Self
pub fn set_utility_vm_path(&mut self, val: Option<String>) -> &mut Self
UtilityVMPath is an optional path to the image used for the Utility VM.
Trait Implementations§
source§impl Clone for WindowsHyperV
impl Clone for WindowsHyperV
source§fn clone(&self) -> WindowsHyperV
fn clone(&self) -> WindowsHyperV
Returns a copy 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 moresource§impl Debug for WindowsHyperV
impl Debug for WindowsHyperV
source§impl Default for WindowsHyperV
impl Default for WindowsHyperV
source§fn default() -> WindowsHyperV
fn default() -> WindowsHyperV
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WindowsHyperV
impl<'de> Deserialize<'de> for WindowsHyperV
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
source§impl PartialEq for WindowsHyperV
impl PartialEq for WindowsHyperV
source§fn eq(&self, other: &WindowsHyperV) -> bool
fn eq(&self, other: &WindowsHyperV) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WindowsHyperV
impl Serialize for WindowsHyperV
impl Eq for WindowsHyperV
impl StructuralPartialEq for WindowsHyperV
Auto Trait Implementations§
impl Freeze for WindowsHyperV
impl RefUnwindSafe for WindowsHyperV
impl Send for WindowsHyperV
impl Sync for WindowsHyperV
impl Unpin for WindowsHyperV
impl UnwindSafe for WindowsHyperV
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)