Enum openapiv3::SchemaKind [−][src]
pub enum SchemaKind {
Type(Type),
OneOf {
one_of: Vec<ReferenceOr<Schema>>,
},
AllOf {
all_of: Vec<ReferenceOr<Schema>>,
},
AnyOf {
any_of: Vec<ReferenceOr<Schema>>,
},
Not {
not: Box<ReferenceOr<Schema>>,
},
Any(AnySchema),
}
Variants
Type(Type)
Tuple Fields of Type
0: Type
Fields of OneOf
one_of: Vec<ReferenceOr<Schema>>
Fields of AllOf
all_of: Vec<ReferenceOr<Schema>>
Fields of AnyOf
any_of: Vec<ReferenceOr<Schema>>
Fields of Not
not: Box<ReferenceOr<Schema>>
Any(AnySchema)
Tuple Fields of Any
0: AnySchema
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SchemaKind
impl Send for SchemaKind
impl Sync for SchemaKind
impl Unpin for SchemaKind
impl UnwindSafe for SchemaKind
Blanket Implementations
Mutably borrows from an owned value. Read more