pub struct Row {
pub path: PathBuf,
pub meta: Value,
}Expand description
One document a view covers.
Carries the document’s whole metadata block, which is what lets grouping and filtering be pure functions over a selection rather than passes that have to go back to disk.
Fields§
§path: PathBufWorkspace-relative, normalized path — join it onto the root with
Graph::fs_path before reading.
meta: ValueThe document’s parsed metadata block.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Row
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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