pub struct NotificationOverrides {
pub notify_on_complete: Option<bool>,
pub notify_on_fail: Option<bool>,
pub notify_sound: Option<bool>,
}Expand description
CLI overrides for notification settings.
Fields are Option<bool> to distinguish “not set” from explicit false.
Fields§
§notify_on_complete: Option<bool>Override notify_on_complete from CLI.
notify_on_fail: Option<bool>Override notify_on_fail from CLI.
notify_sound: Option<bool>Override sound_enabled from CLI.
Trait Implementations§
Source§impl Clone for NotificationOverrides
impl Clone for NotificationOverrides
Source§fn clone(&self) -> NotificationOverrides
fn clone(&self) -> NotificationOverrides
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 moreSource§impl Debug for NotificationOverrides
impl Debug for NotificationOverrides
Source§impl Default for NotificationOverrides
impl Default for NotificationOverrides
Source§fn default() -> NotificationOverrides
fn default() -> NotificationOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NotificationOverrides
impl RefUnwindSafe for NotificationOverrides
impl Send for NotificationOverrides
impl Sync for NotificationOverrides
impl Unpin for NotificationOverrides
impl UnsafeUnpin for NotificationOverrides
impl UnwindSafe for NotificationOverrides
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