pub struct CalendarInterval {
pub months: i64,
pub days: i64,
pub nanos: i64,
}Fields§
§months: i64§days: i64§nanos: i64Trait Implementations§
Source§impl Clone for CalendarInterval
impl Clone for CalendarInterval
Source§fn clone(&self) -> CalendarInterval
fn clone(&self) -> CalendarInterval
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 moreSource§impl Debug for CalendarInterval
impl Debug for CalendarInterval
Source§impl PartialEq for CalendarInterval
impl PartialEq for CalendarInterval
Source§fn eq(&self, other: &CalendarInterval) -> bool
fn eq(&self, other: &CalendarInterval) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CalendarInterval
impl Eq for CalendarInterval
impl StructuralPartialEq for CalendarInterval
Auto Trait Implementations§
impl Freeze for CalendarInterval
impl RefUnwindSafe for CalendarInterval
impl Send for CalendarInterval
impl Sync for CalendarInterval
impl Unpin for CalendarInterval
impl UnsafeUnpin for CalendarInterval
impl UnwindSafe for CalendarInterval
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