pub struct SemanticDiffEntry {
pub diff: CodeDiffEntry,
pub classification: ChangeClassification,
pub parent_id: Option<String>,
pub children: Vec<String>,
pub file_path: Option<String>,
}Expand description
A single enriched diff entry.
Fields§
§diff: CodeDiffEntryThe underlying object-level diff entry.
classification: ChangeClassificationClassification of the change.
parent_id: Option<String>Parent node ID (containment).
children: Vec<String>Child node IDs that are contained within this changed node.
file_path: Option<String>File path extracted from the node ID.
Trait Implementations§
Source§impl Clone for SemanticDiffEntry
impl Clone for SemanticDiffEntry
Source§fn clone(&self) -> SemanticDiffEntry
fn clone(&self) -> SemanticDiffEntry
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 Freeze for SemanticDiffEntry
impl RefUnwindSafe for SemanticDiffEntry
impl Send for SemanticDiffEntry
impl Sync for SemanticDiffEntry
impl Unpin for SemanticDiffEntry
impl UnsafeUnpin for SemanticDiffEntry
impl UnwindSafe for SemanticDiffEntry
Blanket Implementations§
impl<T> Allocation for T
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