pub(crate) struct Seconds(Duration);
Tuple Fields§
§0: Duration
Implementations§
Trait Implementations§
source§impl<'a> From<&'a Seconds> for HeaderValue
impl<'a> From<&'a Seconds> for HeaderValue
source§fn from(secs: &'a Seconds) -> HeaderValue
fn from(secs: &'a Seconds) -> HeaderValue
Converts to this type from the input type.
source§impl Ord for Seconds
impl Ord for Seconds
source§impl PartialOrd for Seconds
impl PartialOrd for Seconds
source§impl TryFromValues for Seconds
impl TryFromValues for Seconds
source§fn try_from_values<'i, I>(values: &mut I) -> Result<Self, Error>where
I: Iterator<Item = &'i HeaderValue>,
fn try_from_values<'i, I>(values: &mut I) -> Result<Self, Error>where
I: Iterator<Item = &'i HeaderValue>,
Try to convert from the values into an instance of
Self
.impl Copy for Seconds
impl Eq for Seconds
impl StructuralPartialEq for Seconds
Auto Trait Implementations§
impl Freeze for Seconds
impl RefUnwindSafe for Seconds
impl Send for Seconds
impl Sync for Seconds
impl Unpin for Seconds
impl UnwindSafe for Seconds
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§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
)