pub struct ParseTransformAllResult {
pub documents: Vec<Document>,
pub diagnostics: Vec<Diagnostic>,
pub dependencies: Vec<String>,
}Expand description
Result of request::ParseTransformAll.
Fields§
§documents: Vec<Document>Documents the plugin generates, with no source file: each one’s
source is a path no source file has (it names the output, as a
source path would). The host normalizes them, and they go through
this plugin’s apply pass, the transformers after it and rendering
like any other document.
diagnostics: Vec<Diagnostic>Problems found.
dependencies: Vec<String>Files the result depends on besides the request, such as included
files: absolute paths, or paths relative to the site directory
(site.root), with / separators. A cached result is only reused
while they are unchanged (a file that did not exist must still not
exist), and lsdocs serve rebuilds when they change. List files
looked for but missing too.
Trait Implementations§
Source§impl Clone for ParseTransformAllResult
impl Clone for ParseTransformAllResult
Source§impl Debug for ParseTransformAllResult
impl Debug for ParseTransformAllResult
Source§impl Default for ParseTransformAllResult
impl Default for ParseTransformAllResult
Source§impl<'de> Deserialize<'de> for ParseTransformAllResult
impl<'de> Deserialize<'de> for ParseTransformAllResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ParseTransformAllResult
impl PartialEq for ParseTransformAllResult
Source§impl Serialize for ParseTransformAllResult
impl Serialize for ParseTransformAllResult
impl StructuralPartialEq for ParseTransformAllResult
Auto Trait Implementations§
impl Forget for ParseTransformAllResult
impl Freeze for ParseTransformAllResult
impl Move for ParseTransformAllResult
impl RefUnwindSafe for ParseTransformAllResult
impl Send for ParseTransformAllResult
impl Sync for ParseTransformAllResult
impl Unpin for ParseTransformAllResult
impl UnsafeUnpin for ParseTransformAllResult
impl UnwindSafe for ParseTransformAllResult
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