pub struct MonthDay {
pub month: u8,
pub day: u8,
}Fields§
§month: u8§day: u8Implementations§
Trait Implementations§
impl Copy for MonthDay
Source§impl<'de> Deserialize<'de> for MonthDay
impl<'de> Deserialize<'de> for MonthDay
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
impl Eq for MonthDay
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 Ord for MonthDay
impl Ord for MonthDay
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 MonthDay
impl PartialOrd for MonthDay
impl StructuralPartialEq for MonthDay
Auto Trait Implementations§
impl Freeze for MonthDay
impl RefUnwindSafe for MonthDay
impl Send for MonthDay
impl Sync for MonthDay
impl Unpin for MonthDay
impl UnsafeUnpin for MonthDay
impl UnwindSafe for MonthDay
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.