pub enum LoadSpec<'a> {
Document {
selector: &'a str,
source: Option<&'a str>,
manual_section: Option<&'a str>,
},
File {
path: &'a str,
format: InputFormat,
},
}Expand description
Borrowed loading input without a protocol schema or a query view.
Variants§
Document
Resolve an explicitly qualified logical name.
Fields
File
Read an explicitly authorized local file.
Fields
§
format: InputFormatExplicit or inferred source format.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LoadSpec<'a>
impl<'a> RefUnwindSafe for LoadSpec<'a>
impl<'a> Send for LoadSpec<'a>
impl<'a> Sync for LoadSpec<'a>
impl<'a> Unpin for LoadSpec<'a>
impl<'a> UnsafeUnpin for LoadSpec<'a>
impl<'a> UnwindSafe for LoadSpec<'a>
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