pub struct Notification { /* private fields */ }Expand description
A notification (see notify).
Implementations§
Source§impl Notification
impl Notification
Sourcepub fn id(self, id: &str) -> Self
pub fn id(self, id: &str) -> Self
Its identifier: a new notification with the same one replaces it in Notification Center (a download’s progress, today’s summary).
Auto Trait Implementations§
impl !RefUnwindSafe for Notification
impl !Send for Notification
impl !Sync for Notification
impl !UnwindSafe for Notification
impl Forget for Notification
impl Freeze for Notification
impl Move for Notification
impl Unpin for Notification
impl UnsafeUnpin for Notification
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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