pub struct DurationArgs {
pub unit: TimeUnit,
}
Fields§
§unit: TimeUnit
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DurationArgs
impl RefUnwindSafe for DurationArgs
impl Send for DurationArgs
impl Sync for DurationArgs
impl Unpin for DurationArgs
impl UnwindSafe for DurationArgs
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