pub struct NotificationsConfig {
pub on_task_complete: Vec<NotificationTarget>,
pub on_error: Vec<NotificationTarget>,
pub on_shutdown: Vec<NotificationTarget>,
}Fields§
§on_task_complete: Vec<NotificationTarget>§on_error: Vec<NotificationTarget>§on_shutdown: Vec<NotificationTarget>Trait Implementations§
Source§impl Clone for NotificationsConfig
impl Clone for NotificationsConfig
Source§fn clone(&self) -> NotificationsConfig
fn clone(&self) -> NotificationsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotificationsConfig
impl Debug for NotificationsConfig
Source§impl Default for NotificationsConfig
impl Default for NotificationsConfig
Source§fn default() -> NotificationsConfig
fn default() -> NotificationsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationsConfig
impl<'de> Deserialize<'de> for NotificationsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NotificationsConfig
impl PartialEq for NotificationsConfig
Source§fn eq(&self, other: &NotificationsConfig) -> bool
fn eq(&self, other: &NotificationsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NotificationsConfig
impl Serialize for NotificationsConfig
impl StructuralPartialEq for NotificationsConfig
Auto Trait Implementations§
impl Freeze for NotificationsConfig
impl RefUnwindSafe for NotificationsConfig
impl Send for NotificationsConfig
impl Sync for NotificationsConfig
impl Unpin for NotificationsConfig
impl UnsafeUnpin for NotificationsConfig
impl UnwindSafe for NotificationsConfig
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