pub enum DiffTruncationLevel {
Full,
Abbreviated,
FileList,
FileListAbbreviated,
}Expand description
The level of truncation applied to a diff for review.
This enum tracks how much a diff has been abbreviated and determines what instructions should be given to the reviewer agent.
Variants§
Full
No truncation - full diff is included
Abbreviated
Diff was semantically truncated - high-priority files shown, instruction to explore
FileList
Only file paths listed - instruction to explore each file’s diff
FileListAbbreviated
File list was abbreviated - instruction to explore and discover files
Trait Implementations§
Source§impl Clone for DiffTruncationLevel
impl Clone for DiffTruncationLevel
Source§fn clone(&self) -> DiffTruncationLevel
fn clone(&self) -> DiffTruncationLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiffTruncationLevel
impl Debug for DiffTruncationLevel
Source§impl Default for DiffTruncationLevel
impl Default for DiffTruncationLevel
Source§fn default() -> DiffTruncationLevel
fn default() -> DiffTruncationLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for DiffTruncationLevel
impl PartialEq for DiffTruncationLevel
impl Copy for DiffTruncationLevel
impl Eq for DiffTruncationLevel
impl StructuralPartialEq for DiffTruncationLevel
Auto Trait Implementations§
impl Freeze for DiffTruncationLevel
impl RefUnwindSafe for DiffTruncationLevel
impl Send for DiffTruncationLevel
impl Sync for DiffTruncationLevel
impl Unpin for DiffTruncationLevel
impl UnwindSafe for DiffTruncationLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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>
Converts
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>
Converts
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