Struct hyper_staticfile::AcceptEncoding
source · Expand description
Flags for which encodings to resolve.
Fields§
§gzip: bool
Look for .gz
files.
br: bool
Look for .br
files.
Implementations§
source§impl AcceptEncoding
impl AcceptEncoding
sourcepub fn from_header_value(value: &HeaderValue) -> Self
pub fn from_header_value(value: &HeaderValue) -> Self
Fill an AcceptEncoding
struct from a header value.
Trait Implementations§
source§impl BitAnd<AcceptEncoding> for AcceptEncoding
impl BitAnd<AcceptEncoding> for AcceptEncoding
source§impl Clone for AcceptEncoding
impl Clone for AcceptEncoding
source§fn clone(&self) -> AcceptEncoding
fn clone(&self) -> AcceptEncoding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more