pub struct PlanningDate {
pub year: u16,
pub month: u8,
pub day: u8,
}Fields§
§year: u16§month: u8§day: u8Implementations§
Trait Implementations§
Source§impl Clone for PlanningDate
impl Clone for PlanningDate
Source§fn clone(&self) -> PlanningDate
fn clone(&self) -> PlanningDate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlanningDate
Source§impl Debug for PlanningDate
impl Debug for PlanningDate
Source§impl<'de> Deserialize<'de> for PlanningDate
impl<'de> Deserialize<'de> for PlanningDate
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PlanningDate
impl Display for PlanningDate
impl Eq for PlanningDate
Source§impl From<PlanningDate> for MonthDay
impl From<PlanningDate> for MonthDay
Source§fn from(value: PlanningDate) -> Self
fn from(value: PlanningDate) -> Self
Converts to this type from the input type.
Source§impl FromStr for PlanningDate
impl FromStr for PlanningDate
Source§impl Hash for PlanningDate
impl Hash for PlanningDate
Source§impl Ord for PlanningDate
impl Ord for PlanningDate
Source§fn cmp(&self, other: &PlanningDate) -> Ordering
fn cmp(&self, other: &PlanningDate) -> Ordering
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 PartialEq for PlanningDate
impl PartialEq for PlanningDate
Source§impl PartialOrd for PlanningDate
impl PartialOrd for PlanningDate
Source§impl Serialize for PlanningDate
impl Serialize for PlanningDate
impl StructuralPartialEq for PlanningDate
Auto Trait Implementations§
impl Freeze for PlanningDate
impl RefUnwindSafe for PlanningDate
impl Send for PlanningDate
impl Sync for PlanningDate
impl Unpin for PlanningDate
impl UnsafeUnpin for PlanningDate
impl UnwindSafe for PlanningDate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.