pub struct SlotInfoImage {
pub image: u32,
pub slots: Vec<SlotInfoImageSlot>,
pub max_image_size: Option<u64>,
}Expand description
Information about a firmware image type returned by SlotInfo
Fields§
§image: u32The number of the image
slots: Vec<SlotInfoImageSlot>Slots available for the image
max_image_size: Option<u64>Maximum size of an application that can be uploaded to that image number
Trait Implementations§
Source§impl Debug for SlotInfoImage
impl Debug for SlotInfoImage
Source§impl<'de> Deserialize<'de> for SlotInfoImage
impl<'de> Deserialize<'de> for SlotInfoImage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SlotInfoImage
impl PartialEq for SlotInfoImage
Source§impl Serialize for SlotInfoImage
impl Serialize for SlotInfoImage
impl Eq for SlotInfoImage
impl StructuralPartialEq for SlotInfoImage
Auto Trait Implementations§
impl Freeze for SlotInfoImage
impl RefUnwindSafe for SlotInfoImage
impl Send for SlotInfoImage
impl Sync for SlotInfoImage
impl Unpin for SlotInfoImage
impl UnwindSafe for SlotInfoImage
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