pub struct Version {
pub transport: u8,
pub product: u8,
pub major: u8,
pub minor: u8,
pub maint: u8,
pub revision: Option<u32>,
}Expand description
SYS_VERSION.
Fields§
§transport: u8Transport revision.
product: u8Product (ids::product).
major: u8Major release.
minor: u8Minor release.
maint: u8Maintenance release.
revision: Option<u32>Firmware build, usually a date such as 20230507.
Implementations§
Source§impl Version
impl Version
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
Z-Stack 3.0.x or 3.x.0.
Sourcepub fn has_extended_nv(&self) -> bool
pub fn has_extended_nv(&self) -> bool
Extended NV tables (3.x.0) rather than legacy items (3.0.x).
Trait Implementations§
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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