Enum hyper::header::CacheDirective
[−]
[src]
pub enum CacheDirective { NoCache, NoStore, NoTransform, OnlyIfCached, MaxAge(u32), MaxStale(u32), MinFresh(u32), MustRevalidate, Public, Private, ProxyRevalidate, SMaxAge(u32), Extension(String, Option<String>), }
CacheControl
contains a list of these directives.
Variants
NoCache
"no-cache"
NoStore
"no-store"
NoTransform
"no-transform"
OnlyIfCached
"only-if-cached"
MaxAge(u32)
"max-age=delta"
MaxStale(u32)
"max-stale=delta"
MinFresh(u32)
"min-fresh=delta"
MustRevalidate
"must-revalidate"
Public
"public"
Private
"private"
ProxyRevalidate
"proxy-revalidate"
SMaxAge(u32)
"s-maxage=delta"
Extension(String, Option<String>)
Extension directives. Optionally include an argument.