pub struct DayInterval(/* private fields */);Expand description
A positive interval measured in days.
Implementations§
Trait Implementations§
Source§impl Clone for DayInterval
impl Clone for DayInterval
Source§fn clone(&self) -> DayInterval
fn clone(&self) -> DayInterval
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 DayInterval
Source§impl Debug for DayInterval
impl Debug for DayInterval
Source§impl<'de> Deserialize<'de> for DayInterval
impl<'de> Deserialize<'de> for DayInterval
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 DayInterval
Source§impl Hash for DayInterval
impl Hash for DayInterval
Source§impl Ord for DayInterval
impl Ord for DayInterval
Source§fn cmp(&self, other: &DayInterval) -> Ordering
fn cmp(&self, other: &DayInterval) -> 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 DayInterval
impl PartialEq for DayInterval
Source§fn eq(&self, other: &DayInterval) -> bool
fn eq(&self, other: &DayInterval) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DayInterval
impl PartialOrd for DayInterval
Source§impl Serialize for DayInterval
impl Serialize for DayInterval
impl StructuralPartialEq for DayInterval
Auto Trait Implementations§
impl Freeze for DayInterval
impl RefUnwindSafe for DayInterval
impl Send for DayInterval
impl Sync for DayInterval
impl Unpin for DayInterval
impl UnsafeUnpin for DayInterval
impl UnwindSafe for DayInterval
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