pub struct ReviewCheckInput {
pub project_id: String,
pub diff_content: String,
pub file_path: Option<String>,
pub engine: Option<String>,
pub review_id: Option<String>,
pub repo_full_name: Option<String>,
pub repo_full_name_aliases: Vec<String>,
pub fast_preview: bool,
}Fields§
§project_id: String§diff_content: String§file_path: Option<String>§engine: Option<String>§review_id: Option<String>Cloud-side pr_reviews row id, when the caller already created
one (e.g. the VS Code extension host after hitting the cloud
createReview endpoint). When Some, run_review_smart collects
trajectory, wall-clock, and token-estimate metrics and posts them to the
cloud after the review completes. When None, cloud telemetry is skipped.
repo_full_name: Option<String>GitHub owner/repo for this project. Scopes past-verdict recall
to THIS repo’s rules so the slogan “make AI understand your repo better” holds:
a diff from repo X should retrieve rules learned from repo X, not
unrelated repos the user has also indexed. None means no
repo-scoped runtime recall; callers should populate it from
git remote get-url origin whenever possible.
repo_full_name_aliases: Vec<String>Additional same-project repo scopes discovered from git remotes. This lets forked worktrees retrieve rules learned from their upstream repository while still avoiding unrelated projects.
fast_preview: boolLatency-sensitive preview mode. Callers such as difflore fix --preview
need the first useful findings or a diagnostic quickly, so the review
pipeline skips secondary recall/verification/summary passes.
Trait Implementations§
Source§impl Clone for ReviewCheckInput
impl Clone for ReviewCheckInput
Source§fn clone(&self) -> ReviewCheckInput
fn clone(&self) -> ReviewCheckInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReviewCheckInput
impl Debug for ReviewCheckInput
Source§impl<'de> Deserialize<'de> for ReviewCheckInput
impl<'de> Deserialize<'de> for ReviewCheckInput
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>,
Auto Trait Implementations§
impl Freeze for ReviewCheckInput
impl RefUnwindSafe for ReviewCheckInput
impl Send for ReviewCheckInput
impl Sync for ReviewCheckInput
impl Unpin for ReviewCheckInput
impl UnsafeUnpin for ReviewCheckInput
impl UnwindSafe for ReviewCheckInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more