pub struct ResolverConfig {
pub base_dir: Option<PathBuf>,
pub allow_network: bool,
pub max_depth: usize,
pub parser_config: ParserConfig,
}Expand description
Configuration for schema resolution
Fields§
§base_dir: Option<PathBuf>Base directory for resolving relative paths
allow_network: boolWhether to allow network access for HTTP URLs
max_depth: usizeMaximum depth for nested includes
parser_config: ParserConfigParser configuration to use for resolved schemas
Trait Implementations§
Source§impl Clone for ResolverConfig
impl Clone for ResolverConfig
Source§fn clone(&self) -> ResolverConfig
fn clone(&self) -> ResolverConfig
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 ResolverConfig
impl Debug for ResolverConfig
Auto Trait Implementations§
impl Freeze for ResolverConfig
impl RefUnwindSafe for ResolverConfig
impl Send for ResolverConfig
impl Sync for ResolverConfig
impl Unpin for ResolverConfig
impl UnsafeUnpin for ResolverConfig
impl UnwindSafe for ResolverConfig
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