pub struct FileSystemLoader {
pub base_dir: Option<PathBuf>,
}Expand description
File system schema loader (default).
Loads schemas from local file system paths.
Fields§
§base_dir: Option<PathBuf>Base directory for resolving relative paths (not currently used directly)
Implementations§
Source§impl FileSystemLoader
impl FileSystemLoader
Sourcepub fn with_base_dir(base_dir: PathBuf) -> Self
pub fn with_base_dir(base_dir: PathBuf) -> Self
Create a file system loader with a base directory.
Trait Implementations§
Source§impl Clone for FileSystemLoader
impl Clone for FileSystemLoader
Source§fn clone(&self) -> FileSystemLoader
fn clone(&self) -> FileSystemLoader
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 FileSystemLoader
impl Debug for FileSystemLoader
Source§impl Default for FileSystemLoader
impl Default for FileSystemLoader
Source§fn default() -> FileSystemLoader
fn default() -> FileSystemLoader
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileSystemLoader
impl RefUnwindSafe for FileSystemLoader
impl Send for FileSystemLoader
impl Sync for FileSystemLoader
impl Unpin for FileSystemLoader
impl UnsafeUnpin for FileSystemLoader
impl UnwindSafe for FileSystemLoader
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