pub struct AcceptRequest<'a> {
pub lake_root: &'a Utf8Path,
pub workspace_root: &'a Utf8Path,
pub target: &'a Utf8Path,
pub edit_line: u32,
pub patched_diagnostics: &'a [Diagnostic],
pub provenance: &'a Provenance,
pub timeout: Duration,
pub run_reverse_dep: bool,
pub negative_control: Option<&'a NegativeControl>,
}Expand description
Everything the accept predicate needs for one attempt.
Fields§
§lake_root: &'a Utf8PathSource-of-truth project root (holds the pre-edit file).
workspace_root: &'a Utf8PathPatched workspace copy root (holds the post-edit file).
target: &'a Utf8PathTarget file, relative to each root.
edit_line: u32One-based first line the edit was allowed to touch.
patched_diagnostics: &'a [Diagnostic]Diagnostics from the patched compile (used to spot a sorry warning).
provenance: &'a ProvenanceTooling provenance for any Lean run.
timeout: DurationPer-command timeout for axiom and build checks.
run_reverse_dep: boolRun the reverse-dependency guard (guard 3).
negative_control: Option<&'a NegativeControl>Negative-control manifest, when the loop supplies one (guard 4).
Trait Implementations§
Source§impl<'a> Clone for AcceptRequest<'a>
impl<'a> Clone for AcceptRequest<'a>
Source§fn clone(&self) -> AcceptRequest<'a>
fn clone(&self) -> AcceptRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for AcceptRequest<'a>
impl<'a> RefUnwindSafe for AcceptRequest<'a>
impl<'a> Send for AcceptRequest<'a>
impl<'a> Sync for AcceptRequest<'a>
impl<'a> Unpin for AcceptRequest<'a>
impl<'a> UnsafeUnpin for AcceptRequest<'a>
impl<'a> UnwindSafe for AcceptRequest<'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