pub struct LoadedSchema {
pub schema: Schema,
pub sources: SchemaSources,
pub locations: SchemaLocations,
}Expand description
A valid semantic schema together with its source provenance.
Fields§
§schema: SchemaThe final normalized schema.
sources: SchemaSourcesThe primary document and any external JSON Schema sources it loaded.
locations: SchemaLocationsLocations of semantic nodes retained for later diagnostics.
Trait Implementations§
Source§impl Clone for LoadedSchema
impl Clone for LoadedSchema
Source§fn clone(&self) -> LoadedSchema
fn clone(&self) -> LoadedSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadedSchema
impl Debug for LoadedSchema
impl Eq for LoadedSchema
Source§impl PartialEq for LoadedSchema
impl PartialEq for LoadedSchema
impl StructuralPartialEq for LoadedSchema
Auto Trait Implementations§
impl Freeze for LoadedSchema
impl RefUnwindSafe for LoadedSchema
impl Send for LoadedSchema
impl Sync for LoadedSchema
impl Unpin for LoadedSchema
impl UnsafeUnpin for LoadedSchema
impl UnwindSafe for LoadedSchema
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.