pub enum OpenApiSchemaRef {
Ref {
ref_path: String,
},
Inline(Value),
}Available on crate feature
openapi only.Expand description
JSON Schema reference or inline schema.
Variants§
Trait Implementations§
Source§impl Clone for OpenApiSchemaRef
impl Clone for OpenApiSchemaRef
Source§fn clone(&self) -> OpenApiSchemaRef
fn clone(&self) -> OpenApiSchemaRef
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 OpenApiSchemaRef
impl Debug for OpenApiSchemaRef
Auto Trait Implementations§
impl Freeze for OpenApiSchemaRef
impl RefUnwindSafe for OpenApiSchemaRef
impl Send for OpenApiSchemaRef
impl Sync for OpenApiSchemaRef
impl Unpin for OpenApiSchemaRef
impl UnsafeUnpin for OpenApiSchemaRef
impl UnwindSafe for OpenApiSchemaRef
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