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§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)