Skip to main content

VsanIscsiTargetServiceConfigTrait

Trait VsanIscsiTargetServiceConfigTrait 

Source
pub trait VsanIscsiTargetServiceConfigTrait: DataObjectTrait {
    // Required methods
    fn get_vsan_iscsi_target_service_config(
        &self,
    ) -> &VsanIscsiTargetServiceConfig;
    fn get_vsan_iscsi_target_service_config_mut(
        &mut self,
    ) -> &mut VsanIscsiTargetServiceConfig;
}
Expand description

Specified common properties for vSAN iSCSI target service.

§How to access

  • ComputeResource::configuration_ex→ClusterConfigInfoEx.vsan_config_info?→VsanConfigInfoEx.iscsi_config?
  • ClusterComputeResource::configuration_ex→ClusterConfigInfoEx.vsan_config_info?→VsanConfigInfoEx.iscsi_config?
  • Folder::create_cluster_ex(spec).vsan_config?→VsanConfigInfoEx.iscsi_config?
  • Folder::add_standalone_host_task(comp_res_spec)→ClusterConfigSpecEx.vsan_config?→VsanConfigInfoEx.iscsi_config?
  • Folder::batch_add_hosts_to_cluster_task(comp_res_spec)→ClusterConfigSpecEx.vsan_config?→VsanConfigInfoEx.iscsi_config?
  • Folder::batch_add_standalone_hosts_task(comp_res_spec)→ClusterConfigSpecEx.vsan_config?→VsanConfigInfoEx.iscsi_config?
  • StoragePod::create_cluster_ex(spec).vsan_config?→VsanConfigInfoEx.iscsi_config?
  • StoragePod::add_standalone_host_task(comp_res_spec)→ClusterConfigSpecEx.vsan_config?→VsanConfigInfoEx.iscsi_config?
  • StoragePod::batch_add_hosts_to_cluster_task(comp_res_spec)→ClusterConfigSpecEx.vsan_config?→VsanConfigInfoEx.iscsi_config?
  • StoragePod::batch_add_standalone_hosts_task(comp_res_spec)→ClusterConfigSpecEx.vsan_config?→VsanConfigInfoEx.iscsi_config?

(10 of 20 paths)

Required Methods§

Source

fn get_vsan_iscsi_target_service_config(&self) -> &VsanIscsiTargetServiceConfig

Get a reference to the VsanIscsiTargetServiceConfig parent struct

Source

fn get_vsan_iscsi_target_service_config_mut( &mut self, ) -> &mut VsanIscsiTargetServiceConfig

Get a mutable reference to the VsanIscsiTargetServiceConfig parent struct

Trait Implementations§

Source§

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

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 VsanIscsiTargetServiceConfigTrait

Source§

type Target = VsanIscsiTargetServiceConfig

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for dyn VsanIscsiTargetServiceConfigTrait

Source§

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

Mutably dereferences the value.
Source§

impl Deserialize for Box<dyn VsanIscsiTargetServiceConfigTrait>

Source§

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

The only correct implementation of this method is: Read more

Implementors§