pub struct OpenApiMediaType {
pub schema: OpenApiSchemaRef,
}Available on crate feature
openapi only.Expand description
Media type entry (content.application/json).
Fields§
§schema: OpenApiSchemaRefTrait Implementations§
Source§impl Clone for OpenApiMediaType
impl Clone for OpenApiMediaType
Source§fn clone(&self) -> OpenApiMediaType
fn clone(&self) -> OpenApiMediaType
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 OpenApiMediaType
impl Debug for OpenApiMediaType
Auto Trait Implementations§
impl Freeze for OpenApiMediaType
impl RefUnwindSafe for OpenApiMediaType
impl Send for OpenApiMediaType
impl Sync for OpenApiMediaType
impl Unpin for OpenApiMediaType
impl UnsafeUnpin for OpenApiMediaType
impl UnwindSafe for OpenApiMediaType
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