pub struct OtaOffer {
pub manufacturer: u16,
pub image_type: u16,
pub current_version: u32,
pub available: Option<u32>,
pub size: Option<u32>,
}Expand description
A device’s firmware and what the image directory has for it.
Fields§
§manufacturer: u16Manufacturer code.
image_type: u16Image type.
current_version: u32The file version it runs.
available: Option<u32>The newest newer version in the directory.
size: Option<u32>That image’s size.
Trait Implementations§
impl Eq for OtaOffer
impl StructuralPartialEq for OtaOffer
Auto Trait Implementations§
impl Freeze for OtaOffer
impl RefUnwindSafe for OtaOffer
impl Send for OtaOffer
impl Sync for OtaOffer
impl Unpin for OtaOffer
impl UnsafeUnpin for OtaOffer
impl UnwindSafe for OtaOffer
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