pub struct NextCycleKey {
pub schedule_id: CycleScheduleId,
pub sequence: u32,
pub id: GeneratedCycleId,
pub start_date: Option<String>,
}Expand description
The next candidate a confirmed generation would create for a schedule (T009).
A value, computed without touching anything: asking twice returns the same answer, and asking never advances a cursor or creates a cycle (C-004).
Fields§
§schedule_id: CycleScheduleIdThe schedule the candidate belongs to.
sequence: u32The sequence it would take.
id: GeneratedCycleIdIts stable identity.
start_date: Option<String>Its start date, or None when the cadence cannot be resolved to a date (an
unreachable state for a loaded schedule, since the configuration is validated
first — reported rather than guessed if it ever happens).
Trait Implementations§
Source§impl Clone for NextCycleKey
impl Clone for NextCycleKey
Source§impl Debug for NextCycleKey
impl Debug for NextCycleKey
impl Eq for NextCycleKey
Source§impl PartialEq for NextCycleKey
impl PartialEq for NextCycleKey
impl StructuralPartialEq for NextCycleKey
Auto Trait Implementations§
impl Freeze for NextCycleKey
impl RefUnwindSafe for NextCycleKey
impl Send for NextCycleKey
impl Sync for NextCycleKey
impl Unpin for NextCycleKey
impl UnsafeUnpin for NextCycleKey
impl UnwindSafe for NextCycleKey
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