pub struct HeaderName(_);

Implementations

The Accept header.

MDN | Accept

The Accept-Charset header.

MDN | Accept-Charset

The Accept-Encoding header.

MDN | Accept-Encoding

The Accept-Language header.

MDN | Accept-Language

source

pub const ACCEPT_POST: Self

The Accept-Post header.

MDN | Accept-Post

The Accept-Ranges header.

MDN | Accept-Ranges

The Age header.

MDN | Age

The Allow header.

MDN | Allow

The Alt-Svc header.

MDN | Alt-Svc

The Authorization header.

MDN | Authorization

The Cache-Control header.

MDN | Cache-Control

The Connection header.

MDN | Connection

The Content-Disposition header.

MDN | Content-Disposition

The Content-Encoding header.

MDN | Content-Encoding

The Content-Language header.

MDN | Content-Language

The Content-Length header.

MDN | Content-Length

The Content-Location header.

MDN | Content-Location

The Content-Range header.

MDN | Content-Range

The Content-Type header.

MDN | Content-Type

The Cookie header.

MDN | Cookie

The Date header.

MDN | Date

The Early-Data header.

MDN | Early-Data

The ETag header.

MDN | ETag

The Expect header.

MDN | Expect

The Expires header.

MDN | Expires

The Forwarded header.

MDN | Forwarded

The From header.

MDN | From

The Host header.

MDN | Host

The If-Match header.

MDN | If-Match

The If-Modified-Since header.

MDN | If-Modified-Since

The If-None-Match header.

MDN | If-None-Match

The If-Range header.

MDN | If-Range

The If-Unmodified-Since header.

MDN | If-Unmodified-Since

The Last-Modified header.

MDN | Last-Modified

The Link header.

MDN | Link

The Location header.

MDN | Location

The Origin header.

MDN | Origin

The Pragma header.

MDN | Pragma

The Proxy-Authenticate header.

MDN | Proxy-Authenticate

The Proxy-Authorization header.

MDN | Proxy-Authorization

The Public-Key-Pins header.

MDN | Public-Key-Pins

The Public-Key-Pins-Report-Only header.

MDN | Public-Key-Pins-Report-Only

The Range header.

MDN | Range

The Referer header.

MDN | Referer

The Retry-After header.

MDN | Retry-After

The Sec-WebSocket-Accept header.

MDN | Sec-WebSocket-Accept

The Server header.

MDN | Server

The Set-Cookie header.

MDN | Set-Cookie

The Strict-Transport-Security header.

MDN | Strict-Transport-Security

The TE header.

MDN | TE

The Trailer header.

MDN | Trailer

The Transfer-Encoding header.

MDN | Transfer-Encoding

The Upgrade header.

MDN | Upgrade

The User-Agent header.

MDN | User-Agent

The Vary header.

MDN | Vary

The Via header.

MDN | Via

The WWW-Authenticate header.

MDN | WWW-Authenticate

The Warning header.

MDN | Warning

The X-Content-Type-Options header.

MDN | X-Content-Type-Options

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.