pub enum CommandNotificationUpdate {
Show 14 variants
Method(CommandNotificationMethod),
ThresholdSecs(u64),
IncludeSummary(bool),
Quiet(bool),
Sound(Option<CommandCompletionSound>),
Condition(CommandNotificationCondition),
CompletionSound(CommandCompletionSound),
SubagentCompletion(CommandSubagentCompletion),
SoundFile(PathBuf),
Event(CommandNotificationEvent, bool),
EventSoundEnabled(bool),
EventSoundEvents(Vec<String>),
EventSoundMinIntervalMs(u64),
EventSoundQuiet(bool),
}Expand description
One validated notification edit, mirroring NotificationConfigUpdate.
Variants§
Method(CommandNotificationMethod)
ThresholdSecs(u64)
IncludeSummary(bool)
Quiet(bool)
Sound(Option<CommandCompletionSound>)
Condition(CommandNotificationCondition)
CompletionSound(CommandCompletionSound)
SubagentCompletion(CommandSubagentCompletion)
SoundFile(PathBuf)
Event(CommandNotificationEvent, bool)
EventSoundEnabled(bool)
EventSoundEvents(Vec<String>)
EventSoundMinIntervalMs(u64)
EventSoundQuiet(bool)
Trait Implementations§
Source§impl Clone for CommandNotificationUpdate
impl Clone for CommandNotificationUpdate
Source§impl Debug for CommandNotificationUpdate
impl Debug for CommandNotificationUpdate
impl Eq for CommandNotificationUpdate
impl StructuralPartialEq for CommandNotificationUpdate
Auto Trait Implementations§
impl Forget for CommandNotificationUpdate
impl Freeze for CommandNotificationUpdate
impl Move for CommandNotificationUpdate
impl RefUnwindSafe for CommandNotificationUpdate
impl Send for CommandNotificationUpdate
impl Sync for CommandNotificationUpdate
impl Unpin for CommandNotificationUpdate
impl UnsafeUnpin for CommandNotificationUpdate
impl UnwindSafe for CommandNotificationUpdate
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.