pub struct ContentEncoding(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for ContentEncoding
impl Clone for ContentEncoding
source§fn clone(&self) -> ContentEncoding
fn clone(&self) -> ContentEncoding
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 ContentEncoding
impl Debug for ContentEncoding
source§impl<S> From<S> for ContentEncoding
impl<S> From<S> for ContentEncoding
source§impl Header for ContentEncoding
impl Header for ContentEncoding
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
Auto Trait Implementations§
impl Freeze for ContentEncoding
impl RefUnwindSafe for ContentEncoding
impl Send for ContentEncoding
impl Sync for ContentEncoding
impl Unpin for ContentEncoding
impl UnwindSafe for ContentEncoding
Blanket Implementations§
source§impl<T> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)