pub struct IfModifiedSince(/* private fields */);
Implementations§
Source§impl IfModifiedSince
impl IfModifiedSince
pub fn new(time: OffsetDateTime) -> Self
Trait Implementations§
Source§impl Clone for IfModifiedSince
impl Clone for IfModifiedSince
Source§fn clone(&self) -> IfModifiedSince
fn clone(&self) -> IfModifiedSince
Returns a copy 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 moreSource§impl Debug for IfModifiedSince
impl Debug for IfModifiedSince
Source§impl From<OffsetDateTime> for IfModifiedSince
impl From<OffsetDateTime> for IfModifiedSince
Source§fn from(time: OffsetDateTime) -> Self
fn from(time: OffsetDateTime) -> Self
Converts to this type from the input type.
Source§impl Header for IfModifiedSince
impl Header for IfModifiedSince
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
impl Copy for IfModifiedSince
Auto Trait Implementations§
impl Freeze for IfModifiedSince
impl RefUnwindSafe for IfModifiedSince
impl Send for IfModifiedSince
impl Sync for IfModifiedSince
impl Unpin for IfModifiedSince
impl UnwindSafe for IfModifiedSince
Blanket Implementations§
Source§impl<T> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
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