[][src]Enum htt::Header

pub enum Header {
    WWWAuthenticate,
    Authorization,
    ProxyAuthenticate,
    ProxyAuthorization,
    Age,
    CacheControl,
    ClearSiteData,
    Expires,
    Pragma,
    Warning,
    LastModified,
    ETag,
    IfMatch,
    IfNoneMatch,
    IfModifiedSince,
    IfUnmodifiedSince,
    Vary,
    Connection,
    KeepAlive,
    Accept,
    AcceptCharset,
    AcceptEncoding,
    AcceptLanguage,
    Expect,
    MaxForwards,
    Cookie,
    SetCookie,
    AccessControlAllowOrigin,
    AccessControlAllowCredentials,
    AccessControlAllowHeaders,
    AccessControlAllowMethods,
    AccessControlExposeHeaders,
    AccessControlMaxAge,
    AccessControlRequestHeaders,
    AccessControlRequestMethod,
    Origin,
    ServiceWorkerAllowed,
    TimingAllowOrigin,
    XPermittedCrossDomainPolicies,
    DNT,
    Tk,
    ContentDisposition,
    ContentLength,
    ContentType,
    ContentEncoding,
    ContentLanguage,
    ContentLocation,
    Forwarded,
    Via,
    Location,
    From,
    Host,
    Referer,
    ReferrerPolicy,
    UserAgent,
    Allow,
    Server,
    AcceptRanges,
    Range,
    IfRange,
    ContentRange,
    CrossOriginOpenerPolicy,
    CrossOriginResourcePolicy,
    ContentSecurityPolicy,
    ContentSecurityPolicyReportOnly,
    ExpectCT,
    FeaturePolicy,
    PublicKeyPins,
    PublicKeyPinsReportOnly,
    StrictTransportSecurity,
    UpgradeInsecureRequests,
    XContentTypeOptions,
    XDownloadOptions,
    XFrameOptions,
    XPoweredBy,
    XXSSProtection,
    LastEventID,
    PingFrom,
    PingTo,
    ReportTo,
    TransferEncoding,
    TE,
    Trailer,
    SecWebSocketKey,
    SecWebSocketExtensions,
    SecWebSocketAccept,
    SecWebSocketProtocol,
    SecWebSocketVersion,
    AltSvc,
    Date,
    LargeAllocation,
    Link,
    RetryAfter,
    ServerTiming,
    SourceMap,
    Upgrade,
    XDNSPrefetchControl,
    XRequestedWith,
    Unknown(String),
}

Variants

WWWAuthenticate
Authorization
ProxyAuthenticate
ProxyAuthorization
Age
CacheControl
ClearSiteData
Expires
Pragma
Warning
LastModified
ETag
IfMatch
IfNoneMatch
IfModifiedSince
IfUnmodifiedSince
Vary
Connection
KeepAlive
Accept
AcceptCharset
AcceptEncoding
AcceptLanguage
Expect
MaxForwards
Cookie
SetCookie
AccessControlAllowOrigin
AccessControlAllowCredentials
AccessControlAllowHeaders
AccessControlAllowMethods
AccessControlExposeHeaders
AccessControlMaxAge
AccessControlRequestHeaders
AccessControlRequestMethod
Origin
ServiceWorkerAllowed
TimingAllowOrigin
XPermittedCrossDomainPolicies
DNT
Tk
ContentDisposition
ContentLength
ContentType
ContentEncoding
ContentLanguage
ContentLocation
Forwarded
Via
Location
From
Host
Referer
ReferrerPolicy
UserAgent
Allow
Server
AcceptRanges
Range
IfRange
ContentRange
CrossOriginOpenerPolicy
CrossOriginResourcePolicy
ContentSecurityPolicy
ContentSecurityPolicyReportOnly
ExpectCT
FeaturePolicy
PublicKeyPins
PublicKeyPinsReportOnly
StrictTransportSecurity
UpgradeInsecureRequests
XContentTypeOptions
XDownloadOptions
XFrameOptions
XPoweredBy
XXSSProtection
LastEventID
PingFrom
PingTo
ReportTo
TransferEncoding
TE
Trailer
SecWebSocketKey
SecWebSocketExtensions
SecWebSocketAccept
SecWebSocketProtocol
SecWebSocketVersion
AltSvc
Date
LargeAllocation
RetryAfter
ServerTiming
SourceMap
Upgrade
XDNSPrefetchControl
XRequestedWith
Unknown(String)

Methods

impl Header[src]

Trait Implementations

impl Display for Header[src]

impl Debug for Header[src]

impl PartialEq<Header> for Header[src]

impl Eq for Header[src]

impl Ord for Header[src]

impl PartialOrd<Header> for Header[src]

impl FromStr for Header[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Header[src]

impl StructuralPartialEq for Header[src]

impl StructuralEq for Header[src]

impl Clone for Header[src]

Auto Trait Implementations

impl Unpin for Header

impl Send for Header

impl Sync for Header

impl UnwindSafe for Header

impl RefUnwindSafe for Header

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]