pub trait HostHardwareElementInfoTrait: DataObjectTrait {
// Required methods
fn get_name(&self) -> &str;
fn get_status(&self) -> &Box<dyn ElementDescriptionTrait>;
}
Expand description
Data object describing the operational status of a physical element.
Required Methods§
Sourcefn get_status(&self) -> &Box<dyn ElementDescriptionTrait>
fn get_status(&self) -> &Box<dyn ElementDescriptionTrait>
The operational status of the physical element.
The status is one of the values specified in HostHardwareElementStatus.
See also HostHardwareElementStatus_enum.
Trait Implementations§
Source§impl<From: VimObjectTrait + ?Sized + 'static> CastFrom<From> for dyn HostHardwareElementInfoTrait
impl<From: VimObjectTrait + ?Sized + 'static> CastFrom<From> for dyn HostHardwareElementInfoTrait
Source§impl<'de> Deserialize<'de> for Box<dyn HostHardwareElementInfoTrait>
impl<'de> Deserialize<'de> for Box<dyn HostHardwareElementInfoTrait>
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more