pub enum OperationResponseBody {
Json {
schema_name: String,
media_type: String,
},
Text {
media_type: String,
},
Binary {
media_type: String,
wildcard: bool,
},
}Expand description
Buffered response representation selected from one OpenAPI Response Object.
SSE remains orthogonal on OperationResponse::supports_streaming because
a response may advertise both a buffered JSON representation and an event
stream.
Variants§
Trait Implementations§
Source§impl Clone for OperationResponseBody
impl Clone for OperationResponseBody
Source§fn clone(&self) -> OperationResponseBody
fn clone(&self) -> OperationResponseBody
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 OperationResponseBody
impl Debug for OperationResponseBody
impl Eq for OperationResponseBody
Source§impl PartialEq for OperationResponseBody
impl PartialEq for OperationResponseBody
Source§impl Serialize for OperationResponseBody
impl Serialize for OperationResponseBody
impl StructuralPartialEq for OperationResponseBody
Auto Trait Implementations§
impl Freeze for OperationResponseBody
impl RefUnwindSafe for OperationResponseBody
impl Send for OperationResponseBody
impl Sync for OperationResponseBody
impl Unpin for OperationResponseBody
impl UnsafeUnpin for OperationResponseBody
impl UnwindSafe for OperationResponseBody
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.