pub enum KeyValType {
Query,
Header,
Body,
}
Variants§
Query
if key has no any prefix, it is for query
Header
if key starts with ‘#’, it is for header
Body
if key starts with ‘@’, it is for body
Trait Implementations§
Source§impl Clone for KeyValType
impl Clone for KeyValType
Source§fn clone(&self) -> KeyValType
fn clone(&self) -> KeyValType
Returns a duplicate 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 KeyValType
impl Debug for KeyValType
Source§impl Default for KeyValType
impl Default for KeyValType
Source§impl PartialEq for KeyValType
impl PartialEq for KeyValType
impl Copy for KeyValType
impl Eq for KeyValType
impl StructuralPartialEq for KeyValType
Auto Trait Implementations§
impl Freeze for KeyValType
impl RefUnwindSafe for KeyValType
impl Send for KeyValType
impl Sync for KeyValType
impl Unpin for KeyValType
impl UnwindSafe for KeyValType
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.