pub enum ResolvedSchemaKind {
Type(ResolvedType),
OneOf {
one_of: Vec<NestedSchema>,
},
AllOf {
all_of: Vec<NestedSchema>,
},
AnyOf {
any_of: Vec<NestedSchema>,
},
Not {
not: NestedSchema,
},
Any(Box<ResolvedAnySchema>),
}Expand description
SchemaKind with every $ref replaced by the schema it named.
Variants§
Type(ResolvedType)
See SchemaKind::Type.
OneOf
See SchemaKind::OneOf.
Fields
§
one_of: Vec<NestedSchema>The alternatives, exactly one of which must match.
AllOf
See SchemaKind::AllOf.
Fields
§
all_of: Vec<NestedSchema>The schemas that must all match.
AnyOf
See SchemaKind::AnyOf.
Fields
§
any_of: Vec<NestedSchema>The alternatives, at least one of which must match.
Not
See SchemaKind::Not.
Fields
§
not: NestedSchemaThe schema that must not match.
Any(Box<ResolvedAnySchema>)
See SchemaKind::Any.
Trait Implementations§
Source§impl Debug for ResolvedSchemaKind
impl Debug for ResolvedSchemaKind
Source§impl PartialEq for ResolvedSchemaKind
impl PartialEq for ResolvedSchemaKind
impl StructuralPartialEq for ResolvedSchemaKind
Auto Trait Implementations§
impl Freeze for ResolvedSchemaKind
impl RefUnwindSafe for ResolvedSchemaKind
impl Send for ResolvedSchemaKind
impl Sync for ResolvedSchemaKind
impl Unpin for ResolvedSchemaKind
impl UnsafeUnpin for ResolvedSchemaKind
impl UnwindSafe for ResolvedSchemaKind
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