pub struct TimedeltaComponents {
pub days: i64,
pub hours: i64,
pub minutes: i64,
pub seconds: i64,
pub milliseconds: i64,
pub microseconds: i64,
pub nanoseconds: i64,
}Fields§
§days: i64§hours: i64§minutes: i64§seconds: i64§milliseconds: i64§microseconds: i64§nanoseconds: i64Trait Implementations§
Source§impl Clone for TimedeltaComponents
impl Clone for TimedeltaComponents
Source§fn clone(&self) -> TimedeltaComponents
fn clone(&self) -> TimedeltaComponents
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 TimedeltaComponents
Source§impl Debug for TimedeltaComponents
impl Debug for TimedeltaComponents
Source§impl Default for TimedeltaComponents
impl Default for TimedeltaComponents
Source§fn default() -> TimedeltaComponents
fn default() -> TimedeltaComponents
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimedeltaComponents
impl RefUnwindSafe for TimedeltaComponents
impl Send for TimedeltaComponents
impl Sync for TimedeltaComponents
impl Unpin for TimedeltaComponents
impl UnsafeUnpin for TimedeltaComponents
impl UnwindSafe for TimedeltaComponents
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