pub struct InsomniaBody {
pub mime_type: Option<String>,
pub text: Option<String>,
pub params: Option<Vec<InsomniaParameter>>,
}Expand description
Insomnia request body structure
Fields§
§mime_type: Option<String>MIME type of the body
text: Option<String>Raw body text
params: Option<Vec<InsomniaParameter>>Form data parameters (for form-data bodies)
Trait Implementations§
Source§impl Debug for InsomniaBody
impl Debug for InsomniaBody
Source§impl<'de> Deserialize<'de> for InsomniaBody
impl<'de> Deserialize<'de> for InsomniaBody
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 InsomniaBody
impl RefUnwindSafe for InsomniaBody
impl Send for InsomniaBody
impl Sync for InsomniaBody
impl Unpin for InsomniaBody
impl UnsafeUnpin for InsomniaBody
impl UnwindSafe for InsomniaBody
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