pub enum BodyTarget {
Request,
Response,
Stream,
}Variants§
Trait Implementations§
Source§impl Clone for BodyTarget
impl Clone for BodyTarget
Source§fn clone(&self) -> BodyTarget
fn clone(&self) -> BodyTarget
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 moreimpl Copy for BodyTarget
Source§impl Debug for BodyTarget
impl Debug for BodyTarget
Source§impl<'de> Deserialize<'de> for BodyTarget
impl<'de> Deserialize<'de> for BodyTarget
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
impl Eq for BodyTarget
Source§impl Ord for BodyTarget
impl Ord for BodyTarget
Source§fn cmp(&self, other: &BodyTarget) -> Ordering
fn cmp(&self, other: &BodyTarget) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BodyTarget
impl PartialEq for BodyTarget
Source§impl PartialOrd for BodyTarget
impl PartialOrd for BodyTarget
Source§impl Serialize for BodyTarget
impl Serialize for BodyTarget
impl StructuralPartialEq for BodyTarget
Auto Trait Implementations§
impl Freeze for BodyTarget
impl RefUnwindSafe for BodyTarget
impl Send for BodyTarget
impl Sync for BodyTarget
impl Unpin for BodyTarget
impl UnsafeUnpin for BodyTarget
impl UnwindSafe for BodyTarget
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