pub struct OsImage {
pub name: String,
pub description: String,
pub icon: Url,
pub url: Url,
pub image_download_sha256: [u8; 32],
pub release_date: NaiveDate,
pub devices: HashSet<String>,
pub tags: HashSet<String>,
}Expand description
A singular Os Image for board(s)
Fields§
§name: StringOs Image name
description: StringOs Image description
icon: UrlOs Image icon
url: UrlOs Image download URL
image_download_sha256: [u8; 32]Os Image sha256 (before extraction)
release_date: NaiveDateOs Image release date
devices: HashSet<String>Devices the Os Image can be used with
Os Image tags
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OsImage
impl<'de> Deserialize<'de> for OsImage
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
impl Eq for OsImage
impl StructuralPartialEq for OsImage
Auto Trait Implementations§
impl Freeze for OsImage
impl RefUnwindSafe for OsImage
impl Send for OsImage
impl Sync for OsImage
impl Unpin for OsImage
impl UnwindSafe for OsImage
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