pub struct MissingProperty {
pub path: String,
pub fault: MethodFault,
}Expand description
Used for reporting properties for which values could not be retrieved.
§How to access
PropertyCollector::retrieve_properties().missing_set?[*]VsanMassCollector::vsan_retrieve_properties().missing_set?[*]PropertyCollector::continue_retrieve_properties_ex().objects[*].missing_set?[*]PropertyCollector::retrieve_properties_ex().objects[*].missing_set?[*]PropertyCollector::check_for_updates().filter_set?[*].object_set?[*].missing_set?[*]PropertyCollector::wait_for_updates().filter_set?[*].object_set?[*].missing_set?[*]
(6 of 7 paths)
Fields§
§path: StringProperty for which a value could not be retrieved
fault: MethodFaultFault describing the failure to retrieve the property value.
The possible faults for missing properties are:
- SystemError if there was some unknown problem reading the value
- SecurityError if the logged in session did not have permission to read the value
Trait Implementations§
Source§impl Debug for MissingProperty
impl Debug for MissingProperty
Source§impl Deserialize for MissingProperty
impl Deserialize for MissingProperty
Source§impl VimObjectTrait for MissingProperty
impl VimObjectTrait for MissingProperty
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for MissingProperty
Auto Trait Implementations§
impl Freeze for MissingProperty
impl !RefUnwindSafe for MissingProperty
impl Send for MissingProperty
impl Sync for MissingProperty
impl Unpin for MissingProperty
impl UnsafeUnpin for MissingProperty
impl !UnwindSafe for MissingProperty
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