pub struct OneOf(/* private fields */);
Expand description
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schema-object
Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.
https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-5.24
This keyword’s value MUST be an array. This array MUST have at least one element.
Elements of the array MUST be objects. Each object MUST be a valid JSON Schema.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OneOf
impl RefUnwindSafe for OneOf
impl Send for OneOf
impl Sync for OneOf
impl Unpin for OneOf
impl UnwindSafe for OneOf
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