pub struct Name<T>(/* private fields */);Expand description
An owned or borrowed HTTP field name validated before storage.
Implementations§
Source§impl<T> Name<T>
impl<T> Name<T>
pub fn into_inner(self) -> T
Trait Implementations§
impl<T: Copy> Copy for Name<T>
impl<T: Eq> Eq for Name<T>
impl<T: PartialEq> StructuralPartialEq for Name<T>
Auto Trait Implementations§
impl<T> Freeze for Name<T>where
T: Freeze,
impl<T> RefUnwindSafe for Name<T>where
T: RefUnwindSafe,
impl<T> Send for Name<T>where
T: Send,
impl<T> Sync for Name<T>where
T: Sync,
impl<T> Unpin for Name<T>where
T: Unpin,
impl<T> UnsafeUnpin for Name<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Name<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