Struct Bcc
pub struct Bcc(/* private fields */);Expand description
Lightweight Bcc header wrapper.
Implementations§
§impl Bcc
impl Bcc
pub const fn value(&self) -> &HeaderValue
pub const fn value(&self) -> &HeaderValue
Returns the header value.
pub fn field(&self) -> HeaderField
pub fn field(&self) -> HeaderField
Converts this wrapper into a header field.
Trait Implementations§
§impl Ord for Bcc
impl Ord for Bcc
§impl PartialOrd for Bcc
impl PartialOrd for Bcc
impl Eq for Bcc
impl StructuralPartialEq for Bcc
Auto Trait Implementations§
impl Freeze for Bcc
impl RefUnwindSafe for Bcc
impl Send for Bcc
impl Sync for Bcc
impl Unpin for Bcc
impl UnsafeUnpin for Bcc
impl UnwindSafe for Bcc
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