pub struct ExtendedElementDescription {
pub element_description_: ElementDescription,
pub message_catalog_key_prefix: String,
pub message_arg: Option<Vec<KeyAnyValue>>,
}Expand description
§How to access
ClusterComputeResource::action_history.action→StoragePlacementAction.relocate_spec.device_change?[*].device.device_info?→ExtendedElementDescriptionClusterComputeResource::action_history.action→StorageMigrationAction.relocate_spec.device_change?[*].device.device_info?→ExtendedElementDescriptionClusterComputeResource::action_history.action→PlacementAction.relocate_spec?.device_change?[*].device.device_info?→ExtendedElementDescriptionClusterComputeResource::action_history.action→ClusterClusterInitialPlacementAction.config_spec?.device_change?[*].device.device_info?→ExtendedElementDescriptionClusterComputeResource::action_history.action→ClusterClusterInitialPlacementAction.config_spec?.device_groups?.device_group?[*].device_info?→ExtendedElementDescriptionAlarmManager::description.state_operator[*]→ExtendedElementDescriptionAlarmManager::description.metric_operator[*]→ExtendedElementDescriptionAlarmManager::description.host_system_connection_state[*]→ExtendedElementDescriptionAlarmManager::description.virtual_machine_power_state[*]→ExtendedElementDescriptionAlarmManager::description.datastore_connection_state[*]→ExtendedElementDescription
(10 of 100 paths)
Fields§
§element_description_: ElementDescription§message_catalog_key_prefix: StringKey to the localized message string in the catalog.
If the localized string contains parameters, values to the parameters will be provided in #messageArg. E.g: If the message in the catalog is “IP address is {address}”, value for “address” will be provided by #messageArg. Both summary and label in ElementDescription will have a corresponding entry in the message catalog with the keys <messageCatalogKeyPrefix>.summary and <messageCatalogKeyPrefix>.label respectively. ElementDescription.summary and ElementDescription.label will contain the strings in server locale.
message_arg: Option<Vec<KeyAnyValue>>Provides named arguments that can be used to localize the message in the catalog.
Trait Implementations§
Source§impl Debug for ExtendedElementDescription
impl Debug for ExtendedElementDescription
Source§impl Deref for ExtendedElementDescription
impl Deref for ExtendedElementDescription
Source§impl DescriptionTrait for ExtendedElementDescription
impl DescriptionTrait for ExtendedElementDescription
Source§fn get_description(&self) -> &Description
fn get_description(&self) -> &Description
Get a reference to the Description parent struct
Source§fn get_description_mut(&mut self) -> &mut Description
fn get_description_mut(&mut self) -> &mut Description
Get a mutable reference to the Description parent struct
Source§impl ElementDescriptionTrait for ExtendedElementDescription
impl ElementDescriptionTrait for ExtendedElementDescription
Source§fn get_element_description(&self) -> &ElementDescription
fn get_element_description(&self) -> &ElementDescription
Get a reference to the ElementDescription parent struct
Source§fn get_element_description_mut(&mut self) -> &mut ElementDescription
fn get_element_description_mut(&mut self) -> &mut ElementDescription
Get a mutable reference to the ElementDescription parent struct
Source§impl VimObjectTrait for ExtendedElementDescription
impl VimObjectTrait for ExtendedElementDescription
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for ExtendedElementDescription
Auto Trait Implementations§
impl Freeze for ExtendedElementDescription
impl !RefUnwindSafe for ExtendedElementDescription
impl Send for ExtendedElementDescription
impl Sync for ExtendedElementDescription
impl Unpin for ExtendedElementDescription
impl UnsafeUnpin for ExtendedElementDescription
impl !UnwindSafe for ExtendedElementDescription
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