pub struct EffectiveDates {
pub start: String,
pub due: String,
}Expand description
The range an existing instance spans, for the warning that is about it.
Present exactly when the warning is about an instance that exists, which is why
a look-ahead candidate (nothing exists yet) has none: its start date lives in
ScheduleWarning::next_generation, and its end date is the confirmed
generation’s to compute.
Fields§
§start: StringThe instance’s effective start date, YYYY-MM-DD.
due: StringThe instance’s effective due date, YYYY-MM-DD.
Trait Implementations§
Source§impl Clone for EffectiveDates
impl Clone for EffectiveDates
Source§impl Debug for EffectiveDates
impl Debug for EffectiveDates
impl Eq for EffectiveDates
Source§impl PartialEq for EffectiveDates
impl PartialEq for EffectiveDates
impl StructuralPartialEq for EffectiveDates
Auto Trait Implementations§
impl Freeze for EffectiveDates
impl RefUnwindSafe for EffectiveDates
impl Send for EffectiveDates
impl Sync for EffectiveDates
impl Unpin for EffectiveDates
impl UnsafeUnpin for EffectiveDates
impl UnwindSafe for EffectiveDates
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