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§impl Debug for ParsedBody
impl Debug for ParsedBody
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