pub struct HeaderName { /* private fields */ }Available on crate feature
export-azure only.Expand description
A header name.
Implementationsยง
Sourceยงimpl HeaderName
impl HeaderName
Sourcepub const fn from_static(s: &'static str) -> HeaderName
pub const fn from_static(s: &'static str) -> HeaderName
Create a header name from a static str.
Sourcepub const fn from_static_standard(s: &'static str) -> HeaderName
pub const fn from_static_standard(s: &'static str) -> HeaderName
Create a header name from a static str.
Sourcepub fn is_standard(&self) -> bool
pub fn is_standard(&self) -> bool
Get whether the header was defined as a standard HTTP header.
Trait Implementationsยง
Sourceยงimpl Clone for HeaderName
impl Clone for HeaderName
Sourceยงfn clone(&self) -> HeaderName
fn clone(&self) -> HeaderName
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 HeaderName
impl Debug for HeaderName
Sourceยงimpl From<&'static str> for HeaderName
impl From<&'static str> for HeaderName
Sourceยงfn from(s: &'static str) -> HeaderName
fn from(s: &'static str) -> HeaderName
Converts to this type from the input type.
Sourceยงimpl From<HeaderName> for ClientRequestIdPolicy
impl From<HeaderName> for ClientRequestIdPolicy
Sourceยงfn from(header_name: HeaderName) -> ClientRequestIdPolicy
fn from(header_name: HeaderName) -> ClientRequestIdPolicy
Converts to this type from the input type.
Sourceยงimpl From<String> for HeaderName
impl From<String> for HeaderName
Sourceยงfn from(s: String) -> HeaderName
fn from(s: String) -> HeaderName
Converts to this type from the input type.
Sourceยงimpl Hash for HeaderName
impl Hash for HeaderName
Sourceยงimpl Ord for HeaderName
impl Ord for HeaderName
Sourceยงfn cmp(&self, other: &HeaderName) -> Ordering
fn cmp(&self, other: &HeaderName) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq<&str> for HeaderName
impl PartialEq<&str> for HeaderName
Sourceยงimpl PartialEq for HeaderName
impl PartialEq for HeaderName
Sourceยงimpl PartialOrd for HeaderName
impl PartialOrd for HeaderName
impl Eq for HeaderName
Auto Trait Implementationsยง
impl Freeze for HeaderName
impl RefUnwindSafe for HeaderName
impl Send for HeaderName
impl Sync for HeaderName
impl Unpin for HeaderName
impl UnsafeUnpin for HeaderName
impl UnwindSafe for HeaderName
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