pub struct ReqBody {
pub description: Option<String>,
pub content: HashMap<String, MediaType>,
pub required: Option<bool>,
}Fields§
§description: Option<String>§content: HashMap<String, MediaType>§required: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReqBody
impl<'de> Deserialize<'de> for ReqBody
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
impl StructuralPartialEq for ReqBody
Auto Trait Implementations§
impl Freeze for ReqBody
impl RefUnwindSafe for ReqBody
impl Send for ReqBody
impl Sync for ReqBody
impl Unpin for ReqBody
impl UnwindSafe for ReqBody
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