pub struct HostSystemSwapConfiguration {
pub option: Option<Vec<Box<dyn HostSystemSwapConfigurationSystemSwapOptionTrait>>>,
}Expand description
Information and specification for control of the system swap configuration on the current host.
§How to access
HostSystem::config.system_swap_configuration?HostSystem::update_system_swap_configuration(sys_swap_config)
Fields§
§option: Option<Vec<Box<dyn HostSystemSwapConfigurationSystemSwapOptionTrait>>>The currently enabled options.
When this property contains only one value and this value is HostSystemSwapConfigurationDisabledOption,
this indicates that the system swap is disabled.
If the HostSystemSwapConfigurationDisabledOption option is
used together with some other option in call to HostSystem.UpdateSystemSwapConfiguration, a
InvalidArgument is thrown.
It is not allowed to have duplicate values in this array. If so a
InvalidArgument is thrown.
Trait Implementations§
Source§impl Debug for HostSystemSwapConfiguration
impl Debug for HostSystemSwapConfiguration
Source§impl VimObjectTrait for HostSystemSwapConfiguration
impl VimObjectTrait for HostSystemSwapConfiguration
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for HostSystemSwapConfiguration
Auto Trait Implementations§
impl Freeze for HostSystemSwapConfiguration
impl !RefUnwindSafe for HostSystemSwapConfiguration
impl Send for HostSystemSwapConfiguration
impl Sync for HostSystemSwapConfiguration
impl Unpin for HostSystemSwapConfiguration
impl UnsafeUnpin for HostSystemSwapConfiguration
impl !UnwindSafe for HostSystemSwapConfiguration
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