Struct schemars::visit::RemoveRefSiblings [−][src]
pub struct RemoveRefSiblings;
Expand description
This visitor will restructure JSON Schema objects so that the $ref
property will never appear alongside any other properties.
This is useful for dialects of JSON Schema (e.g. Draft 7) that do not support other properties alongside $ref
.
Trait Implementations
Override this method to modify a SchemaObject
and (optionally) its subschemas. Read more
Override this method to modify a RootSchema
and (optionally) its subschemas. Read more
Auto Trait Implementations
impl RefUnwindSafe for RemoveRefSiblings
impl Send for RemoveRefSiblings
impl Sync for RemoveRefSiblings
impl Unpin for RemoveRefSiblings
impl UnwindSafe for RemoveRefSiblings
Blanket Implementations
Mutably borrows from an owned value. Read more