Enum rocket_http::hyper::header::CacheDirective [−][src]
pub enum CacheDirective {
}
Expand description
CacheControl
contains a list of these directives.
Variants
“no-cache”
“no-store”
“no-transform”
“only-if-cached”
MaxAge(u32)
“max-age=delta”
Tuple Fields of MaxAge
0: u32
MaxStale(u32)
“max-stale=delta”
Tuple Fields of MaxStale
0: u32
MinFresh(u32)
“min-fresh=delta”
Tuple Fields of MinFresh
0: u32
“must-revalidate”
“public”
“private”
“proxy-revalidate”
SMaxAge(u32)
“s-maxage=delta”
Tuple Fields of SMaxAge
0: u32
Extension directives. Optionally include an argument.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CacheDirective
impl Send for CacheDirective
impl Sync for CacheDirective
impl Unpin for CacheDirective
impl UnwindSafe for CacheDirective
Blanket Implementations
Mutably borrows from an owned value. Read more