pub struct ImageVersion {
pub major: u8,
pub minor: u8,
pub revision: u16,
pub build_num: u32,
}Expand description
The firmware version
Fields§
§major: u8Major version
minor: u8Minor version
revision: u16Revision
build_num: u32Build number
Trait Implementations§
Source§impl Clone for ImageVersion
impl Clone for ImageVersion
Source§fn clone(&self) -> ImageVersion
fn clone(&self) -> ImageVersion
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 ImageVersion
impl Debug for ImageVersion
Source§impl Display for ImageVersion
impl Display for ImageVersion
Source§impl PartialEq for ImageVersion
impl PartialEq for ImageVersion
impl Copy for ImageVersion
impl Eq for ImageVersion
impl StructuralPartialEq for ImageVersion
Auto Trait Implementations§
impl Freeze for ImageVersion
impl RefUnwindSafe for ImageVersion
impl Send for ImageVersion
impl Sync for ImageVersion
impl Unpin for ImageVersion
impl UnwindSafe for ImageVersion
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