pub struct Information {
pub magic: u32,
pub timestamp: u32,
pub date: String<DATE_LEN>,
pub version: String<VERSION_LEN>,
pub length: u32,
}
Expand description
Firmware information.
Fields§
§magic: u32
Magic bytes value.
timestamp: u32
The time stamp of the firmware.
date: String<DATE_LEN>
The date of the firmware as a string.
version: String<VERSION_LEN>
Version of the firmware as a string.
length: u32
The length of the firmware, in bytes.
Implementations§
Source§impl Information
impl Information
Sourcepub const MAGIC_MONO: u32 = 1_346_458_451u32
pub const MAGIC_MONO: u32 = 1_346_458_451u32
Magic constant for mono devices.
Sourcepub const MAGIC_COLOR: u32 = 1_397_965_136u32
pub const MAGIC_COLOR: u32 = 1_397_965_136u32
Magic constant for color devices.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Information
impl RefUnwindSafe for Information
impl Send for Information
impl Sync for Information
impl Unpin for Information
impl UnwindSafe for Information
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