pub struct ETag {
pub tag: ByteString,
pub weak: bool,
}
Expand description
ETag value in HTTP headers.
Fields§
§tag: ByteString
Tag.
weak: bool
Weak.
Implementations§
Trait Implementations§
Source§impl CacheWeight for ETag
impl CacheWeight for ETag
Source§fn cache_weight(&self) -> usize
fn cache_weight(&self) -> usize
Cache weight as a byte count. Read more
Source§impl Ord for ETag
impl Ord for ETag
Source§impl PartialOrd for ETag
impl PartialOrd for ETag
impl Eq for ETag
impl StructuralPartialEq for ETag
Auto Trait Implementations§
impl !Freeze for ETag
impl RefUnwindSafe for ETag
impl Send for ETag
impl Sync for ETag
impl Unpin for ETag
impl UnwindSafe for ETag
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.