pub struct NotificationData {
pub category: String,
pub level: NotificationLevel,
pub title: String,
pub message: String,
}Fields§
§category: StringThe category of the notification, used for grouping or filtering notifications
level: NotificationLevelThe severity level of the notification (Info, Warn, Error)
title: StringThe title or subject of the notification
message: StringThe detailed message content of the notification
Trait Implementations§
Source§impl Default for NotificationData
impl Default for NotificationData
Source§fn default() -> NotificationData
fn default() -> NotificationData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NotificationData
impl RefUnwindSafe for NotificationData
impl Send for NotificationData
impl Sync for NotificationData
impl Unpin for NotificationData
impl UnwindSafe for NotificationData
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