pub enum UpdateEvent {
AttentionIcon(Option<String>),
Icon(Option<String>),
OverlayIcon(Option<String>),
Status(Status),
Title(Option<String>),
Tooltip(Option<Tooltip>),
Menu(TrayMenu),
MenuDiff(Vec<MenuDiff>),
MenuConnect(String),
}
Expand description
The specific change associated with an update event.
Variants§
AttentionIcon(Option<String>)
Icon(Option<String>)
OverlayIcon(Option<String>)
Status(Status)
Title(Option<String>)
Tooltip(Option<Tooltip>)
Menu(TrayMenu)
A menu layout has changed. The entire layout is sent.
MenuDiff(Vec<MenuDiff>)
One or more menu properties have changed. Only the updated properties are sent.
MenuConnect(String)
A new menu has connected to the item. Its name on bus is sent.
Trait Implementations§
Source§impl Clone for UpdateEvent
impl Clone for UpdateEvent
Source§fn clone(&self) -> UpdateEvent
fn clone(&self) -> UpdateEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateEvent
impl RefUnwindSafe for UpdateEvent
impl Send for UpdateEvent
impl Sync for UpdateEvent
impl Unpin for UpdateEvent
impl UnwindSafe for UpdateEvent
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