Struct http_types::transfer::EncodingProposal
source · pub struct EncodingProposal { /* private fields */ }
Expand description
A proposed Encoding
in AcceptEncoding
.
Implementations§
Trait Implementations§
source§impl Clone for EncodingProposal
impl Clone for EncodingProposal
source§fn clone(&self) -> EncodingProposal
fn clone(&self) -> EncodingProposal
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 EncodingProposal
impl Debug for EncodingProposal
source§impl Deref for EncodingProposal
impl Deref for EncodingProposal
source§impl DerefMut for EncodingProposal
impl DerefMut for EncodingProposal
source§impl From<&EncodingProposal> for TransferEncoding
impl From<&EncodingProposal> for TransferEncoding
source§fn from(encoding: &EncodingProposal) -> Self
fn from(encoding: &EncodingProposal) -> Self
Converts to this type from the input type.
source§impl From<Encoding> for EncodingProposal
impl From<Encoding> for EncodingProposal
source§impl From<EncodingProposal> for HeaderValue
impl From<EncodingProposal> for HeaderValue
source§fn from(entry: EncodingProposal) -> HeaderValue
fn from(entry: EncodingProposal) -> HeaderValue
Converts to this type from the input type.
source§impl From<EncodingProposal> for TransferEncoding
impl From<EncodingProposal> for TransferEncoding
source§fn from(encoding: EncodingProposal) -> Self
fn from(encoding: EncodingProposal) -> Self
Converts to this type from the input type.
source§impl PartialEq<Encoding> for &EncodingProposal
impl PartialEq<Encoding> for &EncodingProposal
source§impl PartialEq<Encoding> for EncodingProposal
impl PartialEq<Encoding> for EncodingProposal
source§impl PartialEq<EncodingProposal> for EncodingProposal
impl PartialEq<EncodingProposal> for EncodingProposal
source§fn eq(&self, other: &EncodingProposal) -> bool
fn eq(&self, other: &EncodingProposal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EncodingProposal> for EncodingProposal
impl PartialOrd<EncodingProposal> for EncodingProposal
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EncodingProposal
impl StructuralPartialEq for EncodingProposal
Auto Trait Implementations§
impl RefUnwindSafe for EncodingProposal
impl Send for EncodingProposal
impl Sync for EncodingProposal
impl Unpin for EncodingProposal
impl UnwindSafe for EncodingProposal
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