pub enum WarningAction {
Close,
Extend,
Skip,
Ignore,
Generate,
}Expand description
One explicit decision a warning accepts (data-model.md §5).
The list is the whole vocabulary the data model defines, so no surface invents a
sixth answer; every answer is carried out by a confirmed operation, never by
evaluation. Self::Skip is part of that vocabulary but no kind this read-only
pass produces offers it — skipping a candidate is a lifecycle decision (WP05)
rather than a question about an ended or due instance.
Variants§
Close
Close the instance, capturing its immutable snapshot (WP05).
Extend
Push the instance’s due date out (WP05).
Skip
Record the sequence as skipped so it is never regenerated (WP05).
Ignore
Close the warning without deciding anything.
Generate
Create the candidate instance (WP04, confirmed).
Implementations§
Source§impl WarningAction
impl WarningAction
Trait Implementations§
Source§impl Clone for WarningAction
impl Clone for WarningAction
impl Copy for WarningAction
Source§impl Debug for WarningAction
impl Debug for WarningAction
impl Eq for WarningAction
Source§impl Hash for WarningAction
impl Hash for WarningAction
Source§impl PartialEq for WarningAction
impl PartialEq for WarningAction
impl StructuralPartialEq for WarningAction
Auto Trait Implementations§
impl Freeze for WarningAction
impl RefUnwindSafe for WarningAction
impl Send for WarningAction
impl Sync for WarningAction
impl Unpin for WarningAction
impl UnsafeUnpin for WarningAction
impl UnwindSafe for WarningAction
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more