pub struct CanonicalDate { /* private fields */ }Expand description
A Gregorian date in the canonical TypeDB year range.
Implementations§
Source§impl CanonicalDate
impl CanonicalDate
Trait Implementations§
Source§impl Clone for CanonicalDate
impl Clone for CanonicalDate
Source§fn clone(&self) -> CanonicalDate
fn clone(&self) -> CanonicalDate
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 CanonicalDate
Source§impl Debug for CanonicalDate
impl Debug for CanonicalDate
Source§impl<'de> Deserialize<'de> for CanonicalDate
impl<'de> Deserialize<'de> for CanonicalDate
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 CanonicalDate
impl Display for CanonicalDate
impl Eq for CanonicalDate
Source§impl FromStr for CanonicalDate
impl FromStr for CanonicalDate
Source§impl Hash for CanonicalDate
impl Hash for CanonicalDate
Source§impl Ord for CanonicalDate
impl Ord for CanonicalDate
Source§fn cmp(&self, other: &CanonicalDate) -> Ordering
fn cmp(&self, other: &CanonicalDate) -> 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
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 CanonicalDate
impl PartialEq for CanonicalDate
Source§impl PartialOrd for CanonicalDate
impl PartialOrd for CanonicalDate
Source§impl Serialize for CanonicalDate
impl Serialize for CanonicalDate
impl StructuralPartialEq for CanonicalDate
Auto Trait Implementations§
impl Freeze for CanonicalDate
impl RefUnwindSafe for CanonicalDate
impl Send for CanonicalDate
impl Sync for CanonicalDate
impl Unpin for CanonicalDate
impl UnsafeUnpin for CanonicalDate
impl UnwindSafe for CanonicalDate
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