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<SC: IndexAs<u64>, NC: IndexAs<u32>> Index for Durations<SC, NC>
impl<SC: IndexAs<u64>, NC: IndexAs<u32>> Index for Durations<SC, NC>
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