Struct safe_http::HeaderName
source · [−]pub struct HeaderName(_);
Implementations
sourceimpl HeaderName
impl HeaderName
sourcepub const ACCEPT_CHARSET: Self
pub const ACCEPT_CHARSET: Self
The Accept-Charset
header.
sourcepub const ACCEPT_ENCODING: Self
pub const ACCEPT_ENCODING: Self
The Accept-Encoding
header.
sourcepub const ACCEPT_LANGUAGE: Self
pub const ACCEPT_LANGUAGE: Self
The Accept-Language
header.
sourcepub const ACCEPT_POST: Self
pub const ACCEPT_POST: Self
The Accept-Post
header.
sourcepub const ACCEPT_RANGES: Self
pub const ACCEPT_RANGES: Self
The Accept-Ranges
header.
sourcepub const AUTHORIZATION: Self
pub const AUTHORIZATION: Self
The Authorization
header.
sourcepub const CACHE_CONTROL: Self
pub const CACHE_CONTROL: Self
The Cache-Control
header.
sourcepub const CONNECTION: Self
pub const CONNECTION: Self
The Connection
header.
sourcepub const CONTENT_DISPOSITION: Self
pub const CONTENT_DISPOSITION: Self
The Content-Disposition
header.
sourcepub const CONTENT_ENCODING: Self
pub const CONTENT_ENCODING: Self
The Content-Encoding
header.
sourcepub const CONTENT_LANGUAGE: Self
pub const CONTENT_LANGUAGE: Self
The Content-Language
header.
sourcepub const CONTENT_LENGTH: Self
pub const CONTENT_LENGTH: Self
The Content-Length
header.
sourcepub const CONTENT_LOCATION: Self
pub const CONTENT_LOCATION: Self
The Content-Location
header.
sourcepub const CONTENT_RANGE: Self
pub const CONTENT_RANGE: Self
The Content-Range
header.
sourcepub const CONTENT_TYPE: Self
pub const CONTENT_TYPE: Self
The Content-Type
header.
sourcepub const EARLY_DATA: Self
pub const EARLY_DATA: Self
The Early-Data
header.
sourcepub const IF_MODIFIED_SINCE: Self
pub const IF_MODIFIED_SINCE: Self
The If-Modified-Since
header.
sourcepub const IF_NONE_MATCH: Self
pub const IF_NONE_MATCH: Self
The If-None-Match
header.
sourcepub const IF_UNMODIFIED_SINCE: Self
pub const IF_UNMODIFIED_SINCE: Self
The If-Unmodified-Since
header.
sourcepub const LAST_MODIFIED: Self
pub const LAST_MODIFIED: Self
The Last-Modified
header.
sourcepub const PROXY_AUTHENTICATE: Self
pub const PROXY_AUTHENTICATE: Self
The Proxy-Authenticate
header.
sourcepub const PROXY_AUTHORIZATION: Self
pub const PROXY_AUTHORIZATION: Self
The Proxy-Authorization
header.
sourcepub const PUBLIC_KEY_PINS: Self
pub const PUBLIC_KEY_PINS: Self
The Public-Key-Pins
header.
sourcepub const PUBLIC_KEY_PINS_REPORT_ONLY: Self
pub const PUBLIC_KEY_PINS_REPORT_ONLY: Self
The Public-Key-Pins-Report-Only
header.
sourcepub const RETRY_AFTER: Self
pub const RETRY_AFTER: Self
The Retry-After
header.
sourcepub const SEC_WEB_SOCKET_ACCEPT: Self
pub const SEC_WEB_SOCKET_ACCEPT: Self
The Sec-WebSocket-Accept
header.
sourcepub const SET_COOKIE: Self
pub const SET_COOKIE: Self
The Set-Cookie
header.
sourcepub const STRICT_TRANSPORT_SECURITY: Self
pub const STRICT_TRANSPORT_SECURITY: Self
The Strict-Transport-Security
header.
sourcepub const TRANSFER_ENCODING: Self
pub const TRANSFER_ENCODING: Self
The Transfer-Encoding
header.
sourcepub const USER_AGENT: Self
pub const USER_AGENT: Self
The User-Agent
header.
sourcepub const WWW_AUTHENTICATE: Self
pub const WWW_AUTHENTICATE: Self
The WWW-Authenticate
header.
sourcepub const X_CONTENT_TYPE_OPTIONS: Self
pub const X_CONTENT_TYPE_OPTIONS: Self
The X-Content-Type-Options
header.
sourceimpl HeaderName
impl HeaderName
Trait Implementations
sourceimpl Clone for HeaderName
impl Clone for HeaderName
sourcefn clone(&self) -> HeaderName
fn clone(&self) -> HeaderName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HeaderName
impl Debug for HeaderName
sourceimpl From<HeaderName> for SharedStr
impl From<HeaderName> for SharedStr
sourcefn from(x: HeaderName) -> Self
fn from(x: HeaderName) -> Self
Performs the conversion.
sourceimpl From<HeaderName> for String
impl From<HeaderName> for String
sourcefn from(x: HeaderName) -> Self
fn from(x: HeaderName) -> Self
Performs the conversion.
sourceimpl Hash for HeaderName
impl Hash for HeaderName
sourceimpl PartialEq<HeaderName> for HeaderName
impl PartialEq<HeaderName> for HeaderName
sourceimpl PartialEq<String> for HeaderName
impl PartialEq<String> for HeaderName
sourceimpl PartialEq<str> for HeaderName
impl PartialEq<str> for HeaderName
sourceimpl TryFrom<&'static str> for HeaderName
impl TryFrom<&'static str> for HeaderName
sourceimpl TryFrom<Arc<String>> for HeaderName
impl TryFrom<Arc<String>> for HeaderName
sourceimpl TryFrom<String> for HeaderName
impl TryFrom<String> for HeaderName
impl Eq for HeaderName
Auto Trait Implementations
impl RefUnwindSafe for HeaderName
impl Send for HeaderName
impl Sync for HeaderName
impl Unpin for HeaderName
impl UnwindSafe for HeaderName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more