pub struct DateTimeDiffResult {
pub years: i32,
pub months: i32,
pub days: i32,
pub hours: i32,
pub minutes: i32,
pub seconds: i32,
pub nanoseconds: i32,
}Expand description
The result of the date_time_diff function.
Fields§
§years: i32§months: i32§days: i32§hours: i32§minutes: i32§seconds: i32§nanoseconds: i32Trait Implementations§
Source§impl Clone for DateTimeDiffResult
impl Clone for DateTimeDiffResult
impl Copy for DateTimeDiffResult
Source§impl DateTimeDiff for DateTimeDiffResult
impl DateTimeDiff for DateTimeDiffResult
Source§impl Debug for DateTimeDiffResult
impl Debug for DateTimeDiffResult
Source§impl Default for DateTimeDiffResult
impl Default for DateTimeDiffResult
impl Eq for DateTimeDiffResult
Source§impl From<DateDiffResult> for DateTimeDiffResult
impl From<DateDiffResult> for DateTimeDiffResult
Source§fn from(value: DateDiffResult) -> Self
fn from(value: DateDiffResult) -> Self
Converts to this type from the input type.
Source§impl From<DateTimeDiffResult> for DateDiffResult
impl From<DateTimeDiffResult> for DateDiffResult
Source§fn from(value: DateTimeDiffResult) -> Self
fn from(value: DateTimeDiffResult) -> Self
Converts to this type from the input type.
Source§impl Hash for DateTimeDiffResult
impl Hash for DateTimeDiffResult
Source§impl PartialEq for DateTimeDiffResult
impl PartialEq for DateTimeDiffResult
impl StructuralPartialEq for DateTimeDiffResult
Auto Trait Implementations§
impl Freeze for DateTimeDiffResult
impl RefUnwindSafe for DateTimeDiffResult
impl Send for DateTimeDiffResult
impl Sync for DateTimeDiffResult
impl Unpin for DateTimeDiffResult
impl UnsafeUnpin for DateTimeDiffResult
impl UnwindSafe for DateTimeDiffResult
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