pub struct Durations<SC = Vec<u64>, NC = Vec<u32>> {
pub seconds: SC,
pub nanoseconds: NC,
}
Fields§
§seconds: SC
§nanoseconds: NC
Trait Implementations§
source§impl<'de, SC, NC> Deserialize<'de> for Durations<SC, NC>where
SC: Deserialize<'de>,
NC: Deserialize<'de>,
impl<'de, SC, NC> Deserialize<'de> for Durations<SC, NC>where
SC: Deserialize<'de>,
NC: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a, SC: Push<&'a u64>, NC: Push<&'a u32>> Push<(&'a u64, &'a u32)> for Durations<SC, NC>
impl<'a, SC: Push<&'a u64>, NC: Push<&'a u32>> Push<(&'a u64, &'a u32)> for Durations<SC, NC>
impl<SC: Copy, NC: Copy> Copy for Durations<SC, NC>
impl<SC, NC> StructuralPartialEq for Durations<SC, NC>
Auto Trait Implementations§
impl<SC, NC> Freeze for Durations<SC, NC>
impl<SC, NC> RefUnwindSafe for Durations<SC, NC>where
SC: RefUnwindSafe,
NC: RefUnwindSafe,
impl<SC, NC> Send for Durations<SC, NC>
impl<SC, NC> Sync for Durations<SC, NC>
impl<SC, NC> Unpin for Durations<SC, NC>
impl<SC, NC> UnwindSafe for Durations<SC, NC>where
SC: UnwindSafe,
NC: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)