pub struct DiffReviewAnchor {
pub file_path: String,
pub unified: String,
pub omitted_lines: u64,
pub notice: String,
}Expand description
UI-only payload that reopens a completed-edit diff as full-viewport review.
Not part of ThreadEvent. The transcript notice text is the activation
target; unified is the retained preview used when before/after are absent.
Fields§
§file_path: StringWorkspace-visible file path for the review header.
unified: StringRetained unified preview body.
omitted_lines: u64Rows omitted from the compact transcript body, when known.
notice: StringExact notice text that should activate this review.
Trait Implementations§
Source§impl Clone for DiffReviewAnchor
impl Clone for DiffReviewAnchor
Source§impl Debug for DiffReviewAnchor
impl Debug for DiffReviewAnchor
impl Eq for DiffReviewAnchor
Source§impl PartialEq for DiffReviewAnchor
impl PartialEq for DiffReviewAnchor
impl StructuralPartialEq for DiffReviewAnchor
Auto Trait Implementations§
impl Freeze for DiffReviewAnchor
impl RefUnwindSafe for DiffReviewAnchor
impl Send for DiffReviewAnchor
impl Sync for DiffReviewAnchor
impl Unpin for DiffReviewAnchor
impl UnsafeUnpin for DiffReviewAnchor
impl UnwindSafe for DiffReviewAnchor
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.