pub struct IfModifiedSince(/* private fields */);Expand description
Last-Modified header.
Implementations§
Source§impl IfModifiedSince
impl IfModifiedSince
pub fn condition_passes(&self, last_modified: &LastModified) -> bool
Trait Implementations§
Source§impl Header for IfModifiedSince
impl Header for IfModifiedSince
Source§fn header_name() -> HeaderName
fn header_name() -> HeaderName
The name of the header.
Source§fn decode(value: &HeaderValue) -> Option<Self>
fn decode(value: &HeaderValue) -> Option<Self>
Decode the header from a
HeaderValue.Source§fn encode(self) -> HeaderValue
fn encode(self) -> HeaderValue
Encode the header into a
HeaderValue.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> 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