pub struct OpenApiComponents {
pub schemas: IndexMap<String, Value>,
}Available on crate feature
openapi only.Expand description
Reusable schemas (components.schemas).
Fields§
§schemas: IndexMap<String, Value>Trait Implementations§
Source§impl Clone for OpenApiComponents
impl Clone for OpenApiComponents
Source§fn clone(&self) -> OpenApiComponents
fn clone(&self) -> OpenApiComponents
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 OpenApiComponents
impl Debug for OpenApiComponents
Auto Trait Implementations§
impl Freeze for OpenApiComponents
impl RefUnwindSafe for OpenApiComponents
impl Send for OpenApiComponents
impl Sync for OpenApiComponents
impl Unpin for OpenApiComponents
impl UnsafeUnpin for OpenApiComponents
impl UnwindSafe for OpenApiComponents
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