pub struct BootUpdate {Show 13 fields
pub boot_source_override_target: Option<BootSource>,
pub boot_source_override_enabled: Option<BootSourceOverrideEnabled>,
pub uefi_target_boot_source_override: Option<String>,
pub boot_source_override_mode: Option<BootSourceOverrideMode>,
pub boot_next: Option<String>,
pub boot_order: Option<Vec<String>>,
pub alias_boot_order: Option<Vec<BootSource>>,
pub boot_order_property_selection: Option<BootOrderTypes>,
pub http_boot_uri: Option<String>,
pub automatic_retry_config: Option<AutomaticRetryConfig>,
pub automatic_retry_attempts: Option<Int64>,
pub trusted_module_required_to_boot: Option<TrustedModuleRequiredToBoot>,
pub stop_boot_on_fault: Option<StopBootOnFault>,
}Expand description
Update struct corresponding to Boot
Fields§
§boot_source_override_target: Option<BootSource>§boot_source_override_enabled: Option<BootSourceOverrideEnabled>§uefi_target_boot_source_override: Option<String>§boot_source_override_mode: Option<BootSourceOverrideMode>§boot_next: Option<String>§boot_order: Option<Vec<String>>§alias_boot_order: Option<Vec<BootSource>>§boot_order_property_selection: Option<BootOrderTypes>§http_boot_uri: Option<String>§automatic_retry_config: Option<AutomaticRetryConfig>§automatic_retry_attempts: Option<Int64>§trusted_module_required_to_boot: Option<TrustedModuleRequiredToBoot>§stop_boot_on_fault: Option<StopBootOnFault>Implementations§
Source§impl BootUpdate
impl BootUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_boot_source_override_target(self, v: BootSource) -> Self
pub fn with_boot_source_override_enabled( self, v: BootSourceOverrideEnabled, ) -> Self
pub fn with_uefi_target_boot_source_override(self, v: String) -> Self
pub fn with_boot_source_override_mode(self, v: BootSourceOverrideMode) -> Self
pub fn with_boot_next(self, v: String) -> Self
pub fn with_boot_order(self, v: Vec<String>) -> Self
pub fn with_alias_boot_order(self, v: Vec<BootSource>) -> Self
pub fn with_boot_order_property_selection(self, v: BootOrderTypes) -> Self
pub fn with_http_boot_uri(self, v: String) -> Self
pub fn with_automatic_retry_config(self, v: AutomaticRetryConfig) -> Self
pub fn with_automatic_retry_attempts(self, v: Int64) -> Self
pub fn with_trusted_module_required_to_boot( self, v: TrustedModuleRequiredToBoot, ) -> Self
pub fn with_stop_boot_on_fault(self, v: StopBootOnFault) -> Self
Trait Implementations§
Source§impl Debug for BootUpdate
impl Debug for BootUpdate
Source§impl Default for BootUpdate
impl Default for BootUpdate
Source§fn default() -> BootUpdate
fn default() -> BootUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BootUpdate
impl RefUnwindSafe for BootUpdate
impl Send for BootUpdate
impl Sync for BootUpdate
impl Unpin for BootUpdate
impl UnsafeUnpin for BootUpdate
impl UnwindSafe for BootUpdate
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