pub enum HttpBodyCodec {
Json,
Text,
FormUrlEncoded,
Msgpack,
}Variants§
Trait Implementations§
Source§impl Clone for HttpBodyCodec
impl Clone for HttpBodyCodec
Source§fn clone(&self) -> HttpBodyCodec
fn clone(&self) -> HttpBodyCodec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpBodyCodec
impl Debug for HttpBodyCodec
Source§impl<'de> Deserialize<'de> for HttpBodyCodec
impl<'de> Deserialize<'de> for HttpBodyCodec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HttpBodyCodec
impl PartialEq for HttpBodyCodec
Source§fn eq(&self, other: &HttpBodyCodec) -> bool
fn eq(&self, other: &HttpBodyCodec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HttpBodyCodec
impl Serialize for HttpBodyCodec
impl Copy for HttpBodyCodec
impl Eq for HttpBodyCodec
impl StructuralPartialEq for HttpBodyCodec
Auto Trait Implementations§
impl Freeze for HttpBodyCodec
impl RefUnwindSafe for HttpBodyCodec
impl Send for HttpBodyCodec
impl Sync for HttpBodyCodec
impl Unpin for HttpBodyCodec
impl UnsafeUnpin for HttpBodyCodec
impl UnwindSafe for HttpBodyCodec
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