pub struct ParsedInput {
pub headers: Vec<ParsedHeader>,
pub query_params: Vec<ParsedQueryParam>,
pub body: Option<Value>,
}Expand description
The parsed representation of a list of HTTP CLI input parts.
Fields§
§headers: Vec<ParsedHeader>Parsed request headers, in input order.
query_params: Vec<ParsedQueryParam>Parsed query parameters, in input order.
body: Option<Value>Parsed JSON body, if any body assignments were present.
Trait Implementations§
Source§impl Clone for ParsedInput
impl Clone for ParsedInput
Source§fn clone(&self) -> ParsedInput
fn clone(&self) -> ParsedInput
Returns a duplicate of the value. Read more
1.0.0 · 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 ParsedInput
impl Debug for ParsedInput
Source§impl Default for ParsedInput
impl Default for ParsedInput
Source§fn default() -> ParsedInput
fn default() -> ParsedInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for ParsedInput
impl PartialEq for ParsedInput
impl StructuralPartialEq for ParsedInput
Auto Trait Implementations§
impl Freeze for ParsedInput
impl RefUnwindSafe for ParsedInput
impl Send for ParsedInput
impl Sync for ParsedInput
impl Unpin for ParsedInput
impl UnsafeUnpin for ParsedInput
impl UnwindSafe for ParsedInput
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