pub struct TrayNotification {
pub title: String,
pub body: String,
pub icon: BalloonIcon,
}Expand description
Balloon notification payload for a tray icon.
Fields§
§title: StringNotification title.
body: StringNotification body text.
icon: BalloonIconNotification icon style.
Implementations§
Trait Implementations§
Source§impl Clone for TrayNotification
impl Clone for TrayNotification
Source§fn clone(&self) -> TrayNotification
fn clone(&self) -> TrayNotification
Returns a duplicate 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 TrayNotification
impl RefUnwindSafe for TrayNotification
impl Send for TrayNotification
impl Sync for TrayNotification
impl Unpin for TrayNotification
impl UnsafeUnpin for TrayNotification
impl UnwindSafe for TrayNotification
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