pub struct File {
pub path: Option<String>,
pub value: Option<String>,
pub messages: Vec<Message>,
pub data: Map<String, Value>,
}Expand description
The document a pipeline processes: where it came from and what plugins reported about it.
Fields§
§path: Option<String>§value: Option<String>The text the tree was parsed from, which byte spans point into.
messages: Vec<Message>§data: Map<String, Value>What plugins store for whoever reads the result, as vfile’s data holds it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for File
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