pub struct DurationBins {
pub years: u16,
pub months: u8,
pub days: u8,
pub hours: u8,
pub minutes: u8,
pub seconds: u8,
pub milliseconds: u16,
}Fields§
§years: u16§months: u8§days: u8§hours: u8§minutes: u8§seconds: u8§milliseconds: u16Trait Implementations§
Source§impl Clone for DurationBins
impl Clone for DurationBins
Source§fn clone(&self) -> DurationBins
fn clone(&self) -> DurationBins
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DurationBins
Auto Trait Implementations§
impl Freeze for DurationBins
impl RefUnwindSafe for DurationBins
impl Send for DurationBins
impl Sync for DurationBins
impl Unpin for DurationBins
impl UnwindSafe for DurationBins
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