Struct tower_http::compression::predicate::NotForContentType
source · pub struct NotForContentType(_);
Available on crate features
compression-br
or compression-deflate
or compression-gzip
only.Expand description
Predicate that wont allow responses with a specific content-type
to be compressed.
Implementations§
Trait Implementations§
source§impl Clone for NotForContentType
impl Clone for NotForContentType
source§fn clone(&self) -> NotForContentType
fn clone(&self) -> NotForContentType
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