pub struct BootDeviceStatus {
pub kind: BootDevice,
pub attached: bool,
}
Expand description
Determines if a boot device is connected or not.
Fields§
§kind: BootDevice
Boot device
attached: bool
Whether it is physically attached to the system
Trait Implementations§
Source§impl Clone for BootDeviceStatus
impl Clone for BootDeviceStatus
Source§fn clone(&self) -> BootDeviceStatus
fn clone(&self) -> BootDeviceStatus
Returns a copy 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 BootDeviceStatus
impl Debug for BootDeviceStatus
Source§impl Inspect for BootDeviceStatus
impl Inspect for BootDeviceStatus
impl Copy for BootDeviceStatus
Auto Trait Implementations§
impl Freeze for BootDeviceStatus
impl RefUnwindSafe for BootDeviceStatus
impl Send for BootDeviceStatus
impl Sync for BootDeviceStatus
impl Unpin for BootDeviceStatus
impl UnwindSafe for BootDeviceStatus
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