pub enum HttpRequestBodyShape {
Empty,
SingleValue {
source_param: String,
flatten: bool,
ty: TypeSpec,
},
Object {
fields: Vec<HttpRequestBodyField>,
},
Stream {
source_param: String,
item_ty: TypeSpec,
codec: HttpStreamPayloadCodec,
},
}Variants§
Trait Implementations§
Source§impl Clone for HttpRequestBodyShape
impl Clone for HttpRequestBodyShape
Source§fn clone(&self) -> HttpRequestBodyShape
fn clone(&self) -> HttpRequestBodyShape
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 HttpRequestBodyShape
impl Debug for HttpRequestBodyShape
Source§impl<'de> Deserialize<'de> for HttpRequestBodyShape
impl<'de> Deserialize<'de> for HttpRequestBodyShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HttpRequestBodyShape
impl RefUnwindSafe for HttpRequestBodyShape
impl Send for HttpRequestBodyShape
impl Sync for HttpRequestBodyShape
impl Unpin for HttpRequestBodyShape
impl UnsafeUnpin for HttpRequestBodyShape
impl UnwindSafe for HttpRequestBodyShape
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