pub struct Bell {
pub unread: u64,
pub notifications: Vec<BellNotification>,
}Expand description
The bell a panel page renders in its topbar.
Fields§
§unread: u64The count over the trigger; 0 when it shows none.
notifications: Vec<BellNotification>The notifications the sheet lists, newest first.
Trait Implementations§
impl Eq for Bell
impl StructuralPartialEq for Bell
Auto Trait Implementations§
impl Forget for Bell
impl Freeze for Bell
impl Move for Bell
impl RefUnwindSafe for Bell
impl Send for Bell
impl Sync for Bell
impl Unpin for Bell
impl UnsafeUnpin for Bell
impl UnwindSafe for Bell
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.