pub struct NotificationRecord {
pub id: u32,
pub app_name: String,
pub title: String,
pub subtitle: Option<String>,
pub body: String,
pub icon: Option<String>,
pub urgency: NotificationUrgency,
pub category: Option<String>,
pub timeout_ms: i32,
pub replaces_id: u32,
pub actions: Vec<NotificationAction>,
}Expand description
Full immutable record of a dispatched notification (also captured in recorder/CI mode).
Fields§
§id: u32§app_name: String§title: String§subtitle: Option<String>§body: String§icon: Option<String>§urgency: NotificationUrgency§category: Option<String>§timeout_ms: i32§replaces_id: u32§actions: Vec<NotificationAction>Trait Implementations§
Source§impl Clone for NotificationRecord
impl Clone for NotificationRecord
Source§impl Debug for NotificationRecord
impl Debug for NotificationRecord
impl Eq for NotificationRecord
Source§impl PartialEq for NotificationRecord
impl PartialEq for NotificationRecord
impl StructuralPartialEq for NotificationRecord
Auto Trait Implementations§
impl Forget for NotificationRecord
impl Freeze for NotificationRecord
impl Move for NotificationRecord
impl RefUnwindSafe for NotificationRecord
impl Send for NotificationRecord
impl Sync for NotificationRecord
impl Unpin for NotificationRecord
impl UnsafeUnpin for NotificationRecord
impl UnwindSafe for NotificationRecord
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
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§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.