pub struct BootConfig {
pub boot_type: BootType,
}Expand description
Boot type configuration.
Fields§
§boot_type: BootTypeBoot type: BIOS, UEFI, or Hybrid.
Trait Implementations§
Source§impl Clone for BootConfig
impl Clone for BootConfig
Source§fn clone(&self) -> BootConfig
fn clone(&self) -> BootConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BootConfig
impl Debug for BootConfig
Source§impl Default for BootConfig
impl Default for BootConfig
Source§impl<'de> Deserialize<'de> for BootConfig
impl<'de> Deserialize<'de> for BootConfig
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 BootConfig
impl RefUnwindSafe for BootConfig
impl Send for BootConfig
impl Sync for BootConfig
impl Unpin for BootConfig
impl UnsafeUnpin for BootConfig
impl UnwindSafe for BootConfig
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