pub struct BellNotification {
pub id: String,
pub title: String,
pub read: bool,
pub status: String,
pub actions: Vec<(String, String)>,
}Expand description
One notification the bell’s sheet lists.
Fields§
§id: StringThe stored notification’s id, which the bell’s procedures take.
title: String§read: bool§status: StringThe status token: success, error, info or warning.
actions: Vec<(String, String)>The (label, href) of each link it offers.
Trait Implementations§
Source§impl Clone for BellNotification
impl Clone for BellNotification
Source§impl Debug for BellNotification
impl Debug for BellNotification
impl Eq for BellNotification
Source§impl PartialEq for BellNotification
impl PartialEq for BellNotification
impl StructuralPartialEq for BellNotification
Auto Trait Implementations§
impl Forget for BellNotification
impl Freeze for BellNotification
impl Move for BellNotification
impl RefUnwindSafe for BellNotification
impl Send for BellNotification
impl Sync for BellNotification
impl Unpin for BellNotification
impl UnsafeUnpin for BellNotification
impl UnwindSafe for BellNotification
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.