pub trait Shape {
// Required method
fn matches(value: &Value) -> bool;
}Expand description
Shape matching is deliberately narrower than host-side JSON Schema validation: ranges, patterns, conditional presence and oneOf exclusivity remain enforced by the SuperDoc host.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".