pub struct IrRequestBody {
pub required: bool,
pub description: Option<String>,
pub content: IndexMap<String, IrTypeExpr>,
pub encoding: IndexMap<String, IndexMap<String, IrRequestBodyEncoding>>,
}Expand description
A fully resolved request body.
Fields§
§required: bool§description: Option<String>§content: IndexMap<String, IrTypeExpr>Media type -> resolved schema type.
encoding: IndexMap<String, IndexMap<String, IrRequestBodyEncoding>>Media type -> property name -> request-body encoding metadata.
Trait Implementations§
Source§impl Clone for IrRequestBody
impl Clone for IrRequestBody
Source§fn clone(&self) -> IrRequestBody
fn clone(&self) -> IrRequestBody
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 IrRequestBody
impl Debug for IrRequestBody
Auto Trait Implementations§
impl Freeze for IrRequestBody
impl RefUnwindSafe for IrRequestBody
impl Send for IrRequestBody
impl Sync for IrRequestBody
impl Unpin for IrRequestBody
impl UnsafeUnpin for IrRequestBody
impl UnwindSafe for IrRequestBody
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