pub struct HostVmciAccessManagerAccessSpec {
pub vm: ManagedObjectReference,
pub services: Option<Vec<String>>,
pub mode: String,
}Expand description
The AccessSpec data object declares an update to the service access granted to a VM.
The given list of services will either be granted in addition to existing services, replace the existing service or be revoked depending on the mode specified. In case of a revoke, an empty or non-existing service list indicates that all granted services should be revoked.
Fields§
§vm: ManagedObjectReferenceRefers instance of VirtualMachine.
services: Option<Vec<String>>§mode: StringTrait Implementations§
Source§impl VimObjectTrait for HostVmciAccessManagerAccessSpec
impl VimObjectTrait for HostVmciAccessManagerAccessSpec
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for HostVmciAccessManagerAccessSpec
Auto Trait Implementations§
impl Freeze for HostVmciAccessManagerAccessSpec
impl RefUnwindSafe for HostVmciAccessManagerAccessSpec
impl Send for HostVmciAccessManagerAccessSpec
impl Sync for HostVmciAccessManagerAccessSpec
impl Unpin for HostVmciAccessManagerAccessSpec
impl UnsafeUnpin for HostVmciAccessManagerAccessSpec
impl UnwindSafe for HostVmciAccessManagerAccessSpec
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