pub struct ComputerSystemCreate {Show 23 fields
pub links: Option<LinksUpdate>,
pub asset_tag: Option<String>,
pub host_name: Option<String>,
pub indicator_led: Option<IndicatorLed>,
pub boot: Option<BootUpdate>,
pub processor_summary: Option<ProcessorSummaryUpdate>,
pub memory_summary: Option<MemorySummaryUpdate>,
pub trusted_modules: Option<Vec<TrustedModulesUpdate>>,
pub hosted_services: Option<HostedServicesUpdate>,
pub host_watchdog_timer: Option<WatchdogTimerUpdate>,
pub power_restore_policy: Option<PowerRestorePolicyTypes>,
pub location_indicator_active: Option<Boolean>,
pub boot_progress: Option<BootProgressUpdate>,
pub power_on_delay_seconds: Option<Decimal>,
pub power_off_delay_seconds: Option<Decimal>,
pub power_cycle_delay_seconds: Option<Decimal>,
pub serial_console: Option<HostSerialConsoleUpdate>,
pub graphical_console: Option<HostGraphicalConsoleUpdate>,
pub virtual_media_config: Option<VirtualMediaConfigUpdate>,
pub power_mode: Option<PowerMode>,
pub idle_power_saver: Option<IdlePowerSaverUpdate>,
pub key_management: Option<KeyManagementUpdate>,
pub ipmi_host_interface: Option<IpmiHostInterfaceUpdate>,
}Expand description
Create struct corresponding to ComputerSystem
Fields§
§links: Option<LinksUpdate>§asset_tag: Option<String>§host_name: Option<String>§indicator_led: Option<IndicatorLed>§boot: Option<BootUpdate>§processor_summary: Option<ProcessorSummaryUpdate>§memory_summary: Option<MemorySummaryUpdate>§trusted_modules: Option<Vec<TrustedModulesUpdate>>§hosted_services: Option<HostedServicesUpdate>§host_watchdog_timer: Option<WatchdogTimerUpdate>§power_restore_policy: Option<PowerRestorePolicyTypes>§location_indicator_active: Option<Boolean>§boot_progress: Option<BootProgressUpdate>§power_on_delay_seconds: Option<Decimal>§power_off_delay_seconds: Option<Decimal>§power_cycle_delay_seconds: Option<Decimal>§serial_console: Option<HostSerialConsoleUpdate>§graphical_console: Option<HostGraphicalConsoleUpdate>§virtual_media_config: Option<VirtualMediaConfigUpdate>§power_mode: Option<PowerMode>§idle_power_saver: Option<IdlePowerSaverUpdate>§key_management: Option<KeyManagementUpdate>§ipmi_host_interface: Option<IpmiHostInterfaceUpdate>Implementations§
Source§impl ComputerSystemCreate
impl ComputerSystemCreate
pub fn builder() -> Self
pub fn build(self) -> Self
pub fn with_links(self, v: LinksUpdate) -> Self
pub fn with_asset_tag(self, v: String) -> Self
pub fn with_host_name(self, v: String) -> Self
pub fn with_indicator_led(self, v: IndicatorLed) -> Self
pub fn with_boot(self, v: BootUpdate) -> Self
pub fn with_processor_summary(self, v: ProcessorSummaryUpdate) -> Self
pub fn with_memory_summary(self, v: MemorySummaryUpdate) -> Self
pub fn with_trusted_modules(self, v: Vec<TrustedModulesUpdate>) -> Self
pub fn with_hosted_services(self, v: HostedServicesUpdate) -> Self
pub fn with_host_watchdog_timer(self, v: WatchdogTimerUpdate) -> Self
pub fn with_power_restore_policy(self, v: PowerRestorePolicyTypes) -> Self
pub fn with_location_indicator_active(self, v: Boolean) -> Self
pub fn with_boot_progress(self, v: BootProgressUpdate) -> Self
pub fn with_power_on_delay_seconds(self, v: Decimal) -> Self
pub fn with_power_off_delay_seconds(self, v: Decimal) -> Self
pub fn with_power_cycle_delay_seconds(self, v: Decimal) -> Self
pub fn with_serial_console(self, v: HostSerialConsoleUpdate) -> Self
pub fn with_graphical_console(self, v: HostGraphicalConsoleUpdate) -> Self
pub fn with_virtual_media_config(self, v: VirtualMediaConfigUpdate) -> Self
pub fn with_power_mode(self, v: PowerMode) -> Self
pub fn with_idle_power_saver(self, v: IdlePowerSaverUpdate) -> Self
pub fn with_key_management(self, v: KeyManagementUpdate) -> Self
pub fn with_ipmi_host_interface(self, v: IpmiHostInterfaceUpdate) -> Self
Trait Implementations§
Source§impl Debug for ComputerSystemCreate
impl Debug for ComputerSystemCreate
Auto Trait Implementations§
impl Freeze for ComputerSystemCreate
impl RefUnwindSafe for ComputerSystemCreate
impl Send for ComputerSystemCreate
impl Sync for ComputerSystemCreate
impl Unpin for ComputerSystemCreate
impl UnsafeUnpin for ComputerSystemCreate
impl UnwindSafe for ComputerSystemCreate
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