Struct nativeshell::shell::api_model::MenuItem [−][src]
pub struct MenuItem { pub id: i64, pub title: String, pub enabled: bool, pub separator: bool, pub check_status: CheckStatus, pub role: Option<MenuItemRole>, pub submenu: Option<MenuHandle>, pub accelerator: Option<Accelerator>, }
Fields
id: i64
title: String
enabled: bool
separator: bool
check_status: CheckStatus
role: Option<MenuItemRole>
accelerator: Option<Accelerator>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for MenuItem
impl UnwindSafe for MenuItem