pub struct PartialDate { /* private fields */ }Expand description
A date known to year, month or day precision. Serialises as 2017,
2017-06 or 2017-06-12.
Implementations§
Source§impl PartialDate
impl PartialDate
Trait Implementations§
Source§impl Clone for PartialDate
impl Clone for PartialDate
impl Copy for PartialDate
Source§impl Debug for PartialDate
impl Debug for PartialDate
Source§impl<'de> Deserialize<'de> for PartialDate
impl<'de> Deserialize<'de> for PartialDate
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
Source§impl Display for PartialDate
impl Display for PartialDate
impl Eq for PartialDate
Source§impl FromStr for PartialDate
impl FromStr for PartialDate
Source§impl Hash for PartialDate
impl Hash for PartialDate
Source§impl Ord for PartialDate
impl Ord for PartialDate
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 PartialDate
impl PartialEq for PartialDate
Source§impl PartialOrd for PartialDate
impl PartialOrd for PartialDate
Source§impl Serialize for PartialDate
impl Serialize for PartialDate
impl StructuralPartialEq for PartialDate
Auto Trait Implementations§
impl Forget for PartialDate
impl Freeze for PartialDate
impl RefUnwindSafe for PartialDate
impl Send for PartialDate
impl Sync for PartialDate
impl Unpin for PartialDate
impl UnsafeUnpin for PartialDate
impl UnwindSafe for PartialDate
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