pub enum Schema {
Url(Url),
File(PathBuf),
Schema(String),
}Expand description
Configuration for the schemas to load used in ParserConfig.
Variants§
Url(Url)
Load a schema from the provided URL.
File(PathBuf)
Load a schema from the provided file path.
Schema(String)
Load the schema from the provided string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
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