pub struct SchemaImport<S> {
pub schema: S,
pub warnings: Vec<ImportWarning>,
}Expand description
Result of a JSON Schema import: the converted schema plus warnings for
every construct that could not be mapped (degraded to FieldKind::Any).
Fields§
§schema: SThe converted repair schema
warnings: Vec<ImportWarning>Constructs that were skipped or degraded during conversion
Trait Implementations§
Source§impl<S: Clone> Clone for SchemaImport<S>
impl<S: Clone> Clone for SchemaImport<S>
Source§fn clone(&self) -> SchemaImport<S>
fn clone(&self) -> SchemaImport<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for SchemaImport<S>where
S: Freeze,
impl<S> RefUnwindSafe for SchemaImport<S>where
S: RefUnwindSafe,
impl<S> Send for SchemaImport<S>where
S: Send,
impl<S> Sync for SchemaImport<S>where
S: Sync,
impl<S> Unpin for SchemaImport<S>where
S: Unpin,
impl<S> UnsafeUnpin for SchemaImport<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SchemaImport<S>where
S: UnwindSafe,
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