pub struct OsSubList {
pub name: String,
pub description: String,
pub icon: Url,
pub flasher: Flasher,
pub subitems: Vec<OsListItem>,
}Expand description
OsListItem which itself can contain a list of OsListItem.
Fields§
§name: StringSublist name
description: StringSublist description
icon: UrlSublist icon URL
flasher: FlasherFlasher type for all top level Os Images in the sublist
subitems: Vec<OsListItem>List of items
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OsSubList
impl<'de> Deserialize<'de> for OsSubList
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 OsSubList
impl StructuralPartialEq for OsSubList
Auto Trait Implementations§
impl Freeze for OsSubList
impl RefUnwindSafe for OsSubList
impl Send for OsSubList
impl Sync for OsSubList
impl Unpin for OsSubList
impl UnwindSafe for OsSubList
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