Struct pshovr::Notification
source · pub struct Notification<'a> { /* private fields */ }
Implementations§
source§impl<'a> Notification<'a>
impl<'a> Notification<'a>
sourcepub fn title(self, title: String) -> Notification<'a>
pub fn title(self, title: String) -> Notification<'a>
your message’s title, otherwise your app’s name is used
sourcepub fn url(self, url: String) -> Notification<'a>
pub fn url(self, url: String) -> Notification<'a>
a supplementary URL to show with your message
sourcepub fn url_title(self, url_title: String) -> Notification<'a>
pub fn url_title(self, url_title: String) -> Notification<'a>
a title for your supplementary URL, otherwise just the URL is shown
sourcepub fn priority(self, priority: Priority) -> Notification<'a>
pub fn priority(self, priority: Priority) -> Notification<'a>
The notification priority for this message
Trait Implementations§
source§impl<'a> Debug for Notification<'a>
impl<'a> Debug for Notification<'a>
Auto Trait Implementations§
impl<'a> Freeze for Notification<'a>
impl<'a> RefUnwindSafe for Notification<'a>
impl<'a> Send for Notification<'a>
impl<'a> Sync for Notification<'a>
impl<'a> Unpin for Notification<'a>
impl<'a> UnwindSafe for Notification<'a>
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