pub struct CompiledSchemaSet {
pub schema_set: SchemaSet,
pub stats: CompilationStats,
}Expand description
Compiled schema set ready for validation.
Contains the fully processed SchemaSet with all references resolved
and inline types assembled.
Fields§
§schema_set: SchemaSetThe compiled schema set
stats: CompilationStatsCompilation statistics
Implementations§
Source§impl CompiledSchemaSet
impl CompiledSchemaSet
Sourcepub fn schema_set(&self) -> &SchemaSet
pub fn schema_set(&self) -> &SchemaSet
Get a reference to the underlying schema set.
Sourcepub fn into_schema_set(self) -> SchemaSet
pub fn into_schema_set(self) -> SchemaSet
Consume self and return the underlying schema set.
Auto Trait Implementations§
impl !Freeze for CompiledSchemaSet
impl !RefUnwindSafe for CompiledSchemaSet
impl !Sync for CompiledSchemaSet
impl !UnwindSafe for CompiledSchemaSet
impl Send for CompiledSchemaSet
impl Unpin for CompiledSchemaSet
impl UnsafeUnpin for CompiledSchemaSet
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