pub struct Extraction {
pub schema: Value,
pub components: BTreeMap<String, Value>,
pub gaps: Vec<Gap>,
pub aux_resolved: BTreeSet<String>,
}Expand description
A schema plus everything it referenced and everything it could not see.
Fields§
§schema: ValueThe root schema, usually a $ref into components.
components: BTreeMap<String, Value>Named schemas the root references, for components/schemas.
gaps: Vec<Gap>Places a shape could not be derived. Never empty and silent.
aux_resolved: BTreeSet<String>Canonical paths walked out of a workspace-local crate instead of being reported as unmapped.
Trait Implementations§
Source§impl Clone for Extraction
impl Clone for Extraction
Auto Trait Implementations§
impl Freeze for Extraction
impl RefUnwindSafe for Extraction
impl Send for Extraction
impl Sync for Extraction
impl Unpin for Extraction
impl UnsafeUnpin for Extraction
impl UnwindSafe for Extraction
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