pub enum NameType {
Derived(Derive),
Field(HeaderName),
}Variants§
Derived(Derive)
Field(HeaderName)
Trait Implementations§
Source§impl From<HeaderName> for NameType
impl From<HeaderName> for NameType
Source§fn from(value: HeaderName) -> Self
fn from(value: HeaderName) -> Self
Converts to this type from the input type.
impl Eq for NameType
impl StructuralPartialEq for NameType
Auto Trait Implementations§
impl !Freeze for NameType
impl RefUnwindSafe for NameType
impl Send for NameType
impl Sync for NameType
impl Unpin for NameType
impl UnsafeUnpin for NameType
impl UnwindSafe for NameType
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.