pub struct HclDevicePlatformSettings {Show 15 fields
pub secure_boot_enabled: bool,
pub secure_boot_template_id: HclSecureBootTemplateId,
pub enable_battery: bool,
pub enable_processor_idle: bool,
pub enable_tpm: bool,
pub com1: HclUartSettings,
pub com2: HclUartSettings,
pub bios_guid: Guid,
pub console_mode: u8,
pub enable_firmware_debugging: bool,
pub enable_hibernation: bool,
pub serial_number: String,
pub base_board_serial_number: String,
pub chassis_serial_number: String,
pub chassis_asset_tag: String,
}
Fields§
§secure_boot_enabled: bool
§secure_boot_template_id: HclSecureBootTemplateId
§enable_battery: bool
§enable_processor_idle: bool
§enable_tpm: bool
§com1: HclUartSettings
§com2: HclUartSettings
§bios_guid: Guid
§console_mode: u8
§enable_firmware_debugging: bool
§enable_hibernation: bool
§serial_number: String
§base_board_serial_number: String
§chassis_serial_number: String
§chassis_asset_tag: String
Trait Implementations§
Source§impl Debug for HclDevicePlatformSettings
impl Debug for HclDevicePlatformSettings
Source§impl Default for HclDevicePlatformSettings
impl Default for HclDevicePlatformSettings
Source§fn default() -> HclDevicePlatformSettings
fn default() -> HclDevicePlatformSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HclDevicePlatformSettingswhere
HclDevicePlatformSettings: Default,
impl<'de> Deserialize<'de> for HclDevicePlatformSettingswhere
HclDevicePlatformSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HclDevicePlatformSettings
impl RefUnwindSafe for HclDevicePlatformSettings
impl Send for HclDevicePlatformSettings
impl Sync for HclDevicePlatformSettings
impl Unpin for HclDevicePlatformSettings
impl UnwindSafe for HclDevicePlatformSettings
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