pub struct Due {
pub date: Date,
pub time: Option<Time>,
}Expand description
A due date with an optional time-of-day (spec: a “rendez-vous” due can
carry a time; overdue/eta rollups (Aggregate::earliest_due,
project_finish_date) stay day-granularity and only ever read .date —
.time is display-only, never compared.
Fields§
§date: Date§time: Option<Time>Implementations§
Trait Implementations§
impl Copy for Due
Source§impl<'de> Deserialize<'de> for Due
impl<'de> Deserialize<'de> for Due
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Due
Source§impl Ord for Due
impl Ord for Due
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Due
impl PartialOrd for Due
impl StructuralPartialEq for Due
Auto Trait Implementations§
impl Freeze for Due
impl RefUnwindSafe for Due
impl Send for Due
impl Sync for Due
impl Unpin for Due
impl UnsafeUnpin for Due
impl UnwindSafe for Due
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