Struct ajars_surf::surf::http::content::EncodingProposal
[−]pub struct EncodingProposal { /* private fields */ }
Expand description
A proposed Encoding
in AcceptEncoding
.
Implementations
Trait Implementations
impl Clone for EncodingProposal
impl Clone for EncodingProposal
fn clone(&self) -> EncodingProposal
fn clone(&self) -> EncodingProposal
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for EncodingProposal
impl Debug for EncodingProposal
impl Deref for EncodingProposal
impl Deref for EncodingProposal
impl DerefMut for EncodingProposal
impl DerefMut for EncodingProposal
fn deref_mut(&mut self) -> &mut <EncodingProposal as Deref>::Target
fn deref_mut(&mut self) -> &mut <EncodingProposal as Deref>::Target
Mutably dereferences the value.
impl<'_> From<&'_ EncodingProposal> for ContentEncoding
impl<'_> From<&'_ EncodingProposal> for ContentEncoding
fn from(encoding: &EncodingProposal) -> ContentEncoding
fn from(encoding: &EncodingProposal) -> ContentEncoding
Converts to this type from the input type.
impl From<Encoding> for EncodingProposal
impl From<Encoding> for EncodingProposal
fn from(encoding: Encoding) -> EncodingProposal
fn from(encoding: Encoding) -> EncodingProposal
Converts to this type from the input type.
impl From<EncodingProposal> for ContentEncoding
impl From<EncodingProposal> for ContentEncoding
fn from(encoding: EncodingProposal) -> ContentEncoding
fn from(encoding: EncodingProposal) -> ContentEncoding
Converts to this type from the input type.
impl From<EncodingProposal> for HeaderValue
impl From<EncodingProposal> for HeaderValue
fn from(entry: EncodingProposal) -> HeaderValue
fn from(entry: EncodingProposal) -> HeaderValue
Converts to this type from the input type.
impl<'_> PartialEq<Encoding> for &'_ EncodingProposal
impl<'_> PartialEq<Encoding> for &'_ EncodingProposal
impl PartialEq<Encoding> for EncodingProposal
impl PartialEq<Encoding> for EncodingProposal
impl PartialEq<EncodingProposal> for EncodingProposal
impl PartialEq<EncodingProposal> for EncodingProposal
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 ==
. Read more
fn ne(&self, other: &EncodingProposal) -> bool
fn ne(&self, other: &EncodingProposal) -> bool
This method tests for !=
.
impl PartialOrd<EncodingProposal> for EncodingProposal
impl PartialOrd<EncodingProposal> for EncodingProposal
fn partial_cmp(&self, other: &EncodingProposal) -> Option<Ordering>
fn partial_cmp(&self, other: &EncodingProposal) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more