pub struct NotForContentType { /* private fields */ }
Available on crate features
compression-br
or compression-deflate
or compression-gzip
or compression-zstd
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 moreSource§impl Debug for NotForContentType
impl Debug for NotForContentType
Source§impl Predicate for NotForContentType
impl Predicate for NotForContentType
Auto Trait Implementations§
impl Freeze for NotForContentType
impl RefUnwindSafe for NotForContentType
impl Send for NotForContentType
impl Sync for NotForContentType
impl Unpin for NotForContentType
impl UnwindSafe for NotForContentType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more