pub struct RecordRef<'a> {
pub path: &'a str,
pub metadata: &'a Value,
}Expand description
The canonical record: where it is, and what it says.
Fields§
§path: &'a strRepository-relative path of the file the record was read from.
metadata: &'a ValueThe parsed YAML, whole. Key presence here is what makes a field explicit, which is the one thing the flattened plan cannot tell a reader.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RecordRef<'a>
impl<'a> RefUnwindSafe for RecordRef<'a>
impl<'a> Send for RecordRef<'a>
impl<'a> Sync for RecordRef<'a>
impl<'a> Unpin for RecordRef<'a>
impl<'a> UnsafeUnpin for RecordRef<'a>
impl<'a> UnwindSafe for RecordRef<'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