Skip to main content

DvsHealthCheckConfigTrait

Trait DvsHealthCheckConfigTrait 

Source
pub trait DvsHealthCheckConfigTrait: DataObjectTrait {
    // Required methods
    fn get_dvs_health_check_config(&self) -> &DvsHealthCheckConfig;
    fn get_dvs_health_check_config_mut(&mut self) -> &mut DvsHealthCheckConfig;
}
Expand description

The DVSHealthCheckConfig data object defines vSphere Distributed Switch health check configuration.

§How to access

  • VmwareDistributedVirtualSwitch::config.health_check_config?[*]
  • DistributedVirtualSwitch::config.health_check_config?[*]
  • VmwareDistributedVirtualSwitch::update_dvs_health_check_config_task(health_check_config)
  • DistributedVirtualSwitch::update_dvs_health_check_config_task(health_check_config)

Required Methods§

Source

fn get_dvs_health_check_config(&self) -> &DvsHealthCheckConfig

Get a reference to the DvsHealthCheckConfig parent struct

Source

fn get_dvs_health_check_config_mut(&mut self) -> &mut DvsHealthCheckConfig

Get a mutable reference to the DvsHealthCheckConfig parent struct

Trait Implementations§

Source§

impl<From: VimObjectTrait + ?Sized + 'static> CastFrom<From> for dyn DvsHealthCheckConfigTrait

Source§

fn from_ref<'a>(from: &'a From) -> Option<&'a Self>

Casts a reference to a trait object. If the cast fails, std::option::Option::None is returned.
Source§

fn from_box(from: Box<From>) -> Result<Box<Self>, Box<dyn Any + 'static>>

Casts a boxed trait object to another trait object. If the cast fails, the original boxed trait object is returned in std::result::Result::Err.
Source§

impl Deref for dyn DvsHealthCheckConfigTrait

Source§

type Target = DvsHealthCheckConfig

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl DerefMut for dyn DvsHealthCheckConfigTrait

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl Deserialize for Box<dyn DvsHealthCheckConfigTrait>

Source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

The only correct implementation of this method is: Read more

Implementors§