pub struct PbmCapabilityTimeSpan {
pub value: i32,
pub unit: String,
}Expand description
The PbmCapabilityTimeSpan data object defines a time value and time unit, for example 10 hours or 5 minutes.
See PbmBuiltinType_enum.VMW_TIMESPAN.
This structure may be used only with operations rendered under /pbm.
Fields§
§value: i32Time value.
Must be a positive integer.
unit: StringUnit value for time.
The string value must correspond to one of the PbmCapabilityTimeUnitType_enum values.
Trait Implementations§
Source§impl Debug for PbmCapabilityTimeSpan
impl Debug for PbmCapabilityTimeSpan
Source§impl Deserialize for PbmCapabilityTimeSpan
impl Deserialize for PbmCapabilityTimeSpan
Source§impl VimObjectTrait for PbmCapabilityTimeSpan
impl VimObjectTrait for PbmCapabilityTimeSpan
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for PbmCapabilityTimeSpan
Auto Trait Implementations§
impl Freeze for PbmCapabilityTimeSpan
impl RefUnwindSafe for PbmCapabilityTimeSpan
impl Send for PbmCapabilityTimeSpan
impl Sync for PbmCapabilityTimeSpan
impl Unpin for PbmCapabilityTimeSpan
impl UnsafeUnpin for PbmCapabilityTimeSpan
impl UnwindSafe for PbmCapabilityTimeSpan
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