pub enum Located<'a> {
Document(usize, &'a Document),
Schema(usize, &'a SchemaDocument),
Additional(&'a AdditionalFile),
Index(usize, &'a IndexFile),
Asset(usize, &'a Asset),
}Expand description
A Located is what a path is in the model, together with the index of
the knowledge store, for a file of a knowledge store.
Variants§
Document(usize, &'a Document)
A document of a knowledge store.
Schema(usize, &'a SchemaDocument)
A schema of a knowledge store.
Additional(&'a AdditionalFile)
An additional file.
Index(usize, &'a IndexFile)
An index file of a knowledge store.
Asset(usize, &'a Asset)
An asset of a knowledge store.
Trait Implementations§
impl<'a> Copy for Located<'a>
impl<'a> StructuralPartialEq for Located<'a>
Auto Trait Implementations§
impl<'a> Forget for Located<'a>
impl<'a> Freeze for Located<'a>
impl<'a> Move for Located<'a>
impl<'a> RefUnwindSafe for Located<'a>
impl<'a> Send for Located<'a>
impl<'a> Sync for Located<'a>
impl<'a> Unpin for Located<'a>
impl<'a> UnsafeUnpin for Located<'a>
impl<'a> UnwindSafe for Located<'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