pub enum DisplayHint {
Transient,
Tray,
Persistent,
HideOnLockScreen,
HideContentOnLockScreen,
ShowAsNew,
}
Expand description
Ways to display a notification.
Variants§
Transient
Transient.
Tray
Tray.
Persistent
Persistent.
HideOnLockScreen
Hide on lockscreen.
HideContentOnLockScreen
Enable speakerphone.
ShowAsNew
Show as new.
Trait Implementations§
Source§impl Clone for DisplayHint
impl Clone for DisplayHint
Source§fn clone(&self) -> DisplayHint
fn clone(&self) -> DisplayHint
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 moreSource§impl Debug for DisplayHint
impl Debug for DisplayHint
Source§impl PartialEq for DisplayHint
impl PartialEq for DisplayHint
Source§impl Serialize for DisplayHint
impl Serialize for DisplayHint
Source§impl Type for DisplayHint
impl Type for DisplayHint
impl Copy for DisplayHint
impl Eq for DisplayHint
impl StructuralPartialEq for DisplayHint
Auto Trait Implementations§
impl Freeze for DisplayHint
impl RefUnwindSafe for DisplayHint
impl Send for DisplayHint
impl Sync for DisplayHint
impl Unpin for DisplayHint
impl UnwindSafe for DisplayHint
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