pub struct SidebarItem {
pub id: String,
pub label: String,
pub icon: String,
pub badge_count: Option<usize>,
pub is_active: bool,
}Fields§
§id: String§label: String§icon: String§badge_count: Option<usize>§is_active: boolAuto Trait Implementations§
impl Freeze for SidebarItem
impl RefUnwindSafe for SidebarItem
impl Send for SidebarItem
impl Sync for SidebarItem
impl Unpin for SidebarItem
impl UnsafeUnpin for SidebarItem
impl UnwindSafe for SidebarItem
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