pub struct EtagIfNoneMatch {
    pub etag: Option<EntityTag>,
}
Expand description

The request guard used for getting if-none-match header.

Fields§

§etag: Option<EntityTag>

Implementations§

For weak comparison two entity-tags are equivalent if their opaque-tags match character-by-character, regardless of either or both being tagged as “weak”.

For strong comparison two entity-tags are equivalent if both are not weak and their opaque-tags match character-by-character.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The associated error to be returned if derivation fails.
Derives an instance of Self from the incoming request metadata. Read more
The associated error to be returned if derivation fails.
Derives an instance of Self from the incoming request metadata. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts self into a collection.
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Get the TypeId of this object.