pub struct CalendarDate { /* private fields */ }Expand description
A day of the proleptic Gregorian calendar, years 1 to 9999.
Implementations§
Trait Implementations§
Source§impl Clone for CalendarDate
impl Clone for CalendarDate
impl Copy for CalendarDate
Source§impl Debug for CalendarDate
impl Debug for CalendarDate
Source§impl<'de> Deserialize<'de> for CalendarDate
impl<'de> Deserialize<'de> for CalendarDate
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CalendarDate
impl Display for CalendarDate
impl Eq for CalendarDate
Source§impl FromStr for CalendarDate
impl FromStr for CalendarDate
Source§impl Hash for CalendarDate
impl Hash for CalendarDate
Source§impl Ord for CalendarDate
impl Ord for CalendarDate
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CalendarDate
impl PartialEq for CalendarDate
Source§impl PartialOrd for CalendarDate
impl PartialOrd for CalendarDate
Source§impl Serialize for CalendarDate
impl Serialize for CalendarDate
impl StructuralPartialEq for CalendarDate
Auto Trait Implementations§
impl Forget for CalendarDate
impl Freeze for CalendarDate
impl Move for CalendarDate
impl RefUnwindSafe for CalendarDate
impl Send for CalendarDate
impl Sync for CalendarDate
impl Unpin for CalendarDate
impl UnsafeUnpin for CalendarDate
impl UnwindSafe for CalendarDate
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