pub(crate) struct Seconds(Duration);Tuple Fields§
§0: DurationImplementations§
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