pub struct NotificationContext {
pub message: String,
pub level: String,
}Expand description
Context passed to notification hooks.
Fields§
§message: StringNotification message.
level: StringSeverity level.
Trait Implementations§
Source§impl Clone for NotificationContext
impl Clone for NotificationContext
Source§fn clone(&self) -> NotificationContext
fn clone(&self) -> NotificationContext
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for NotificationContext
impl RefUnwindSafe for NotificationContext
impl Send for NotificationContext
impl Sync for NotificationContext
impl Unpin for NotificationContext
impl UnsafeUnpin for NotificationContext
impl UnwindSafe for NotificationContext
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