pub struct BoolOption {
pub option_type_: OptionType,
pub supported: bool,
pub default_value: bool,
}Expand description
The BoolOption data object type describes if an option is supported (“true”) and if the option is set to “true” or “false” by default.
§How to access
ClusterComputeResource::action_history.action→StoragePlacementAction.relocate_spec.device_change?[*].device.device_info?→OptionDef.option_type→BoolOptionClusterComputeResource::action_history.action→StorageMigrationAction.relocate_spec.device_change?[*].device.device_info?→OptionDef.option_type→BoolOptionClusterComputeResource::action_history.action→PlacementAction.relocate_spec?.device_change?[*].device.device_info?→OptionDef.option_type→BoolOptionClusterComputeResource::action_history.action→ClusterClusterInitialPlacementAction.config_spec?.device_change?[*].device.device_info?→OptionDef.option_type→BoolOptionClusterComputeResource::action_history.action→ClusterClusterInitialPlacementAction.config_spec?.device_groups?.device_group?[*].device_info?→OptionDef.option_type→BoolOptionAlarmManager::description.state_operator[*]→OptionDef.option_type→BoolOptionAlarmManager::description.metric_operator[*]→OptionDef.option_type→BoolOptionAlarmManager::description.host_system_connection_state[*]→OptionDef.option_type→BoolOptionAlarmManager::description.virtual_machine_power_state[*]→OptionDef.option_type→BoolOptionAlarmManager::description.datastore_connection_state[*]→OptionDef.option_type→BoolOption
(10 of 100 paths)
Fields§
§option_type_: OptionType§supported: boolThe flag to indicate whether or not the option is supported.
default_value: boolThe default value for the option.
Trait Implementations§
Source§impl Debug for BoolOption
impl Debug for BoolOption
Source§impl Deref for BoolOption
impl Deref for BoolOption
Source§impl DerefMut for BoolOption
impl DerefMut for BoolOption
Source§impl Deserialize for BoolOption
impl Deserialize for BoolOption
Source§impl OptionTypeTrait for BoolOption
impl OptionTypeTrait for BoolOption
Source§fn get_option_type(&self) -> &OptionType
fn get_option_type(&self) -> &OptionType
Get a reference to the OptionType parent struct
Source§fn get_option_type_mut(&mut self) -> &mut OptionType
fn get_option_type_mut(&mut self) -> &mut OptionType
Get a mutable reference to the OptionType parent struct
Source§impl VimObjectTrait for BoolOption
impl VimObjectTrait for BoolOption
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for BoolOption
Auto Trait Implementations§
impl Freeze for BoolOption
impl RefUnwindSafe for BoolOption
impl Send for BoolOption
impl Sync for BoolOption
impl Unpin for BoolOption
impl UnsafeUnpin for BoolOption
impl UnwindSafe for BoolOption
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