pub enum ScheduleField {
Id,
Name,
Cadence,
Interval,
Unit,
Duration,
DurationUnit,
StartDate,
Timezone,
LookAhead,
}Expand description
One row of the create/edit form (T036).
The spellings are the CLI’s: the form collects text and the shared registry parses
it, so “is fortnightly a cadence family” has one answer for every surface.
Variants§
Id
The stable id; the registry key, and create-only.
Name
The display label.
Cadence
The cadence family.
Interval
How many cadence units between starts.
Unit
The unit an interval cadence counts in.
Duration
How long one cycle lasts.
DurationUnit
The duration’s unit.
StartDate
The anchor date.
Timezone
The fixed UTC offset.
LookAhead
How many future cycles to consider.
Implementations§
Source§impl ScheduleField
impl ScheduleField
Trait Implementations§
Source§impl Clone for ScheduleField
impl Clone for ScheduleField
impl Copy for ScheduleField
Source§impl Debug for ScheduleField
impl Debug for ScheduleField
impl Eq for ScheduleField
Source§impl Hash for ScheduleField
impl Hash for ScheduleField
Source§impl PartialEq for ScheduleField
impl PartialEq for ScheduleField
impl StructuralPartialEq for ScheduleField
Auto Trait Implementations§
impl Freeze for ScheduleField
impl RefUnwindSafe for ScheduleField
impl Send for ScheduleField
impl Sync for ScheduleField
impl Unpin for ScheduleField
impl UnsafeUnpin for ScheduleField
impl UnwindSafe for ScheduleField
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