pub struct DateInterval {
pub years: i32,
pub months: u32,
pub weeks: u32,
pub days: u32,
}
Fields§
§years: i32
§months: u32
§weeks: u32
§days: u32
Trait Implementations§
Source§impl Debug for DateInterval
impl Debug for DateInterval
Source§impl Default for DateInterval
impl Default for DateInterval
Source§fn default() -> DateInterval
fn default() -> DateInterval
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DateInterval
impl RefUnwindSafe for DateInterval
impl Send for DateInterval
impl Sync for DateInterval
impl Unpin for DateInterval
impl UnwindSafe for DateInterval
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