#[repr(C)]pub struct STORAGE_FIRMWARE_INFO_V2 {
pub Version: ULONG,
pub Size: ULONG,
pub UpgradeSupport: BOOLEAN,
pub SlotCount: UCHAR,
pub ActiveSlot: UCHAR,
pub PendingActivateSlot: UCHAR,
pub FirmwareShared: BOOLEAN,
pub Reserved: [UCHAR; 3],
pub ImagePayloadAlignment: ULONG,
pub ImagePayloadMaxSize: ULONG,
pub Slot: [STORAGE_FIRMWARE_SLOT_INFO_V2; 0],
}
Fields§
§Version: ULONG
§Size: ULONG
§UpgradeSupport: BOOLEAN
§SlotCount: UCHAR
§ActiveSlot: UCHAR
§PendingActivateSlot: UCHAR
§Reserved: [UCHAR; 3]
§ImagePayloadAlignment: ULONG
§ImagePayloadMaxSize: ULONG
§Slot: [STORAGE_FIRMWARE_SLOT_INFO_V2; 0]
Trait Implementations§
Source§impl Clone for STORAGE_FIRMWARE_INFO_V2
impl Clone for STORAGE_FIRMWARE_INFO_V2
Source§fn clone(&self) -> STORAGE_FIRMWARE_INFO_V2
fn clone(&self) -> STORAGE_FIRMWARE_INFO_V2
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 Default for STORAGE_FIRMWARE_INFO_V2
impl Default for STORAGE_FIRMWARE_INFO_V2
Source§fn default() -> STORAGE_FIRMWARE_INFO_V2
fn default() -> STORAGE_FIRMWARE_INFO_V2
Returns the “default value” for a type. Read more
impl Copy for STORAGE_FIRMWARE_INFO_V2
Auto Trait Implementations§
impl Freeze for STORAGE_FIRMWARE_INFO_V2
impl RefUnwindSafe for STORAGE_FIRMWARE_INFO_V2
impl Send for STORAGE_FIRMWARE_INFO_V2
impl Sync for STORAGE_FIRMWARE_INFO_V2
impl Unpin for STORAGE_FIRMWARE_INFO_V2
impl UnwindSafe for STORAGE_FIRMWARE_INFO_V2
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