pub struct HostServiceConfig {
pub service_id: String,
pub startup_policy: String,
}Expand description
DataObject representing configuration for a particular service.
§How to access
HostProfileManager::apply_host_config_task(config_spec).service?[*]HostProfileManager::generate_config_task_list(config_spec).service?[*]HostProfileManager::generate_host_profile_task_list_task(config_spec).service?[*]HostProfile::execute_host_profile().config_spec?.service?[*]HostProfileManager::generate_config_task_list().config_spec?.service?[*]
Fields§
§service_id: StringKey of the service to configure.
startup_policy: StringStartup policy which defines how the service be configured.
See @link Service.Policy for possible values.
Trait Implementations§
Source§impl Debug for HostServiceConfig
impl Debug for HostServiceConfig
Source§impl Deserialize for HostServiceConfig
impl Deserialize for HostServiceConfig
Source§impl VimObjectTrait for HostServiceConfig
impl VimObjectTrait for HostServiceConfig
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for HostServiceConfig
Auto Trait Implementations§
impl Freeze for HostServiceConfig
impl RefUnwindSafe for HostServiceConfig
impl Send for HostServiceConfig
impl Sync for HostServiceConfig
impl Unpin for HostServiceConfig
impl UnsafeUnpin for HostServiceConfig
impl UnwindSafe for HostServiceConfig
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