pub struct Violation {
pub reverted: Vec<String>,
pub injected: Vec<String>,
}Expand description
Evidence that a resolved merge edited the target beyond the proposal.
Fields§
§reverted: Vec<String>Lines removed from the target that base -> proposed never removed:
target-side work the merge silently reverted. Sorted, deduplicated.
injected: Vec<String>Lines added to the result that base -> proposed never added:
content the merge invented or resurrected. Sorted, deduplicated.
Trait Implementations§
impl Eq for Violation
impl StructuralPartialEq for Violation
Auto Trait Implementations§
impl Freeze for Violation
impl RefUnwindSafe for Violation
impl Send for Violation
impl Sync for Violation
impl Unpin for Violation
impl UnsafeUnpin for Violation
impl UnwindSafe for Violation
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