pub enum LifecycleAction {
Pause,
Resume,
End,
Skip,
Defer,
Ignore,
}Expand description
The six lifecycle actions (data-model.md §7).
Variants§
Pause
Suspend generation until an explicit resume.
Resume
Resume a paused series. Never inferred from a refresh.
End
End the series. Terminal for generation.
Skip
Record one occurrence date as skipped, so it is never generated.
Defer
Move the candidate on without recording the date as skipped.
Ignore
Stop offering one occurrence date: recorded, like skip, as a decision.
Implementations§
Source§impl LifecycleAction
impl LifecycleAction
Trait Implementations§
Source§impl Clone for LifecycleAction
impl Clone for LifecycleAction
impl Copy for LifecycleAction
Source§impl Debug for LifecycleAction
impl Debug for LifecycleAction
impl Eq for LifecycleAction
Source§impl Hash for LifecycleAction
impl Hash for LifecycleAction
Source§impl PartialEq for LifecycleAction
impl PartialEq for LifecycleAction
impl StructuralPartialEq for LifecycleAction
Auto Trait Implementations§
impl Freeze for LifecycleAction
impl RefUnwindSafe for LifecycleAction
impl Send for LifecycleAction
impl Sync for LifecycleAction
impl Unpin for LifecycleAction
impl UnsafeUnpin for LifecycleAction
impl UnwindSafe for LifecycleAction
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