pub struct IrResponse {
pub status: String,
pub description: String,
pub content: IndexMap<String, IrTypeExpr>,
pub item_content: IndexMap<String, IrTypeExpr>,
pub headers: IndexMap<String, IrHeader>,
}Expand description
A fully resolved response.
Fields§
§status: String§description: String§content: IndexMap<String, IrTypeExpr>§item_content: IndexMap<String, IrTypeExpr>Streaming item types (from OAS 3.2 itemSchema).
Non-empty when the response is a streaming endpoint (e.g. text/event-stream).
headers: IndexMap<String, IrHeader>Trait Implementations§
Source§impl Clone for IrResponse
impl Clone for IrResponse
Source§fn clone(&self) -> IrResponse
fn clone(&self) -> IrResponse
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 IrResponse
impl Debug for IrResponse
Auto Trait Implementations§
impl Freeze for IrResponse
impl RefUnwindSafe for IrResponse
impl Send for IrResponse
impl Sync for IrResponse
impl Unpin for IrResponse
impl UnsafeUnpin for IrResponse
impl UnwindSafe for IrResponse
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