pub struct TimeDelta {
pub weeks: i64,
pub days: i64,
pub hours: i64,
pub minutes: i64,
pub seconds: i64,
}
Expand description
TimeDelta struct to represent a time difference similar to Python’s timedelta.
Fields§
§weeks: i64
§days: i64
§hours: i64
§minutes: i64
§seconds: i64
Trait Implementations§
impl Copy for TimeDelta
impl Eq for TimeDelta
impl StructuralPartialEq for TimeDelta
Auto Trait Implementations§
impl Freeze for TimeDelta
impl RefUnwindSafe for TimeDelta
impl Send for TimeDelta
impl Sync for TimeDelta
impl Unpin for TimeDelta
impl UnwindSafe for TimeDelta
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