Expand description
The request guard used for getting if-none-match
header.
Fields§
§etag: Option<EntityTag>
Implementations§
Trait Implementations§
source§impl Clone for EtagIfNoneMatch
impl Clone for EtagIfNoneMatch
source§fn clone(&self) -> EtagIfNoneMatch
fn clone(&self) -> EtagIfNoneMatch
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 EtagIfNoneMatch
impl Debug for EtagIfNoneMatch
source§impl<'a, 'r> FromRequest<'a, 'r> for &'a EtagIfNoneMatch
impl<'a, 'r> FromRequest<'a, 'r> for &'a EtagIfNoneMatch
source§fn from_request(
request: &'a Request<'r>
) -> Outcome<&'a EtagIfNoneMatch, (Status, <&'a EtagIfNoneMatch as FromRequest<'a, 'r>>::Error), ()>
fn from_request(
request: &'a Request<'r>
) -> Outcome<&'a EtagIfNoneMatch, (Status, <&'a EtagIfNoneMatch as FromRequest<'a, 'r>>::Error), ()>
Derives an instance of
Self
from the incoming request metadata. Read moresource§impl<'a, 'r> FromRequest<'a, 'r> for EtagIfNoneMatch
impl<'a, 'r> FromRequest<'a, 'r> for EtagIfNoneMatch
source§fn from_request(
request: &'a Request<'r>
) -> Outcome<EtagIfNoneMatch, (Status, <EtagIfNoneMatch as FromRequest<'a, 'r>>::Error), ()>
fn from_request(
request: &'a Request<'r>
) -> Outcome<EtagIfNoneMatch, (Status, <EtagIfNoneMatch as FromRequest<'a, 'r>>::Error), ()>
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§
§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.