Expand description
The request guard used for getting if-none-match
header.
Fields
etag: Option<EntityTag>
Implementations
Trait Implementations
sourceimpl Clone for EtagIfNoneMatch
impl Clone for EtagIfNoneMatch
sourcefn clone(&self) -> EtagIfNoneMatch
fn clone(&self) -> EtagIfNoneMatch
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EtagIfNoneMatch
impl Debug for EtagIfNoneMatch
sourceimpl<'a, 'r> FromRequest<'a, 'r> for EtagIfNoneMatch
impl<'a, 'r> FromRequest<'a, 'r> for EtagIfNoneMatch
sourcefn from_request(
request: &'a Request<'r>
) -> Outcome<EtagIfNoneMatch, (Status, ()), ()>
fn from_request(
request: &'a Request<'r>
) -> Outcome<EtagIfNoneMatch, (Status, ()), ()>
Derives an instance of
Self
from the incoming request metadata. Read moreAuto Trait Implementations
impl RefUnwindSafe for EtagIfNoneMatch
impl Send for EtagIfNoneMatch
impl Sync for EtagIfNoneMatch
impl Unpin for EtagIfNoneMatch
impl UnwindSafe for EtagIfNoneMatch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.