pub enum ParsedBody {
None,
FormUrlEncoded(Vec<(String, String)>),
Multipart(Vec<MultipartField>),
JsonFlattened(Vec<(String, String)>),
Raw(Bytes),
}Expand description
Parsed body, populated by the normalizer based on Content-Type.
Variants§
None
FormUrlEncoded(Vec<(String, String)>)
Multipart(Vec<MultipartField>)
JsonFlattened(Vec<(String, String)>)
JSON flattened to (dot-path, string-value) pairs for pattern inspection.
Raw(Bytes)
Trait Implementations§
Source§impl Clone for ParsedBody
impl Clone for ParsedBody
Source§fn clone(&self) -> ParsedBody
fn clone(&self) -> ParsedBody
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 ParsedBody
impl Debug for ParsedBody
Source§impl Default for ParsedBody
impl Default for ParsedBody
Source§fn default() -> ParsedBody
fn default() -> ParsedBody
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ParsedBody
impl RefUnwindSafe for ParsedBody
impl Send for ParsedBody
impl Sync for ParsedBody
impl Unpin for ParsedBody
impl UnsafeUnpin for ParsedBody
impl UnwindSafe for ParsedBody
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