pub struct Loaded {
pub model: Model,
pub compiled: Compiled,
pub keys: KeyIndex,
pub expected: Expected,
pub dirty: BTreeSet<RepoPath>,
pub touched: Option<BTreeSet<RepoPath>>,
pub full: bool,
}Expand description
Loaded holds everything that a run derives from the tree before the run
checks any document, and records what the run checks.
Fields§
§model: ModelThe model: the documents to check and the documents that their checks read, in full.
compiled: CompiledThe compiled schemas.
keys: KeyIndexThe captured keys: this run’s keys for the documents it checks, and the store’s keys for the others.
expected: ExpectedThe expected generated content of the files that the run checks.
dirty: BTreeSet<RepoPath>The documents that this run checks: every document in a full run, otherwise the dirty set.
touched: Option<BTreeSet<RepoPath>>The directories whose index this run computes and checks: the
directories that a change touched, or None for every directory.
full: boolWhether this run checks every document.
Auto Trait Implementations§
impl !Freeze for Loaded
impl !RefUnwindSafe for Loaded
impl !Send for Loaded
impl !Sync for Loaded
impl !UnwindSafe for Loaded
impl Forget for Loaded
impl Move for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
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