pub struct TrayUpdate {
pub tooltip: Option<String>,
pub title: Option<String>,
pub icon_png: Option<Vec<u8>>,
pub items: Option<Vec<MenuEntry>>,
}Fields§
§tooltip: Option<String>§title: Option<String>macOS menu-bar title text next to the icon.
icon_png: Option<Vec<u8>>§items: Option<Vec<MenuEntry>>Trait Implementations§
Source§impl Clone for TrayUpdate
impl Clone for TrayUpdate
Source§impl Debug for TrayUpdate
impl Debug for TrayUpdate
Source§impl Default for TrayUpdate
impl Default for TrayUpdate
Source§impl<'de> Deserialize<'de> for TrayUpdate
impl<'de> Deserialize<'de> for TrayUpdate
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
Auto Trait Implementations§
impl Freeze for TrayUpdate
impl RefUnwindSafe for TrayUpdate
impl Send for TrayUpdate
impl Sync for TrayUpdate
impl Unpin for TrayUpdate
impl UnsafeUnpin for TrayUpdate
impl UnwindSafe for TrayUpdate
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