pub struct RequestBodyObject {
pub description: Option<String>,
pub content: RequestBodyContent,
pub required: bool,
}
Expand description
rf. https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#requestBodyObject
Fields§
§description: Option<String>
§content: RequestBodyContent
§required: bool
Trait Implementations§
Source§impl Clone for RequestBodyObject
impl Clone for RequestBodyObject
Source§fn clone(&self) -> RequestBodyObject
fn clone(&self) -> RequestBodyObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RequestBodyObject
impl RefUnwindSafe for RequestBodyObject
impl Send for RequestBodyObject
impl Sync for RequestBodyObject
impl Unpin for RequestBodyObject
impl UnwindSafe for RequestBodyObject
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