pub struct Header<'x, T> {
pub name: &'x [u8],
pub value: &'x [u8],
pub header: T,
}
Fields§
§name: &'x [u8]
§value: &'x [u8]
§header: T
Implementations§
Trait Implementations§
impl<'x, T: Eq> Eq for Header<'x, T>
impl<'x, T> StructuralPartialEq for Header<'x, T>
Auto Trait Implementations§
impl<'x, T> Freeze for Header<'x, T>where
T: Freeze,
impl<'x, T> RefUnwindSafe for Header<'x, T>where
T: RefUnwindSafe,
impl<'x, T> Send for Header<'x, T>where
T: Send,
impl<'x, T> Sync for Header<'x, T>where
T: Sync,
impl<'x, T> Unpin for Header<'x, T>where
T: Unpin,
impl<'x, T> UnwindSafe for Header<'x, T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.