pub struct ConflictSymbol {
pub id: String,
pub anchor: SymbolAnchor,
pub base: ConflictSide,
pub ours: ConflictSide,
pub theirs: ConflictSide,
pub candidate_resolutions: Vec<ConflictResolution>,
}Fields§
§id: StringStable id for this specific conflict (e.g., a UUID); used by
heddle conflict resolve <id> to address it without parsing
file paths or line numbers.
anchor: SymbolAnchor§base: ConflictSide§ours: ConflictSide§theirs: ConflictSide§candidate_resolutions: Vec<ConflictResolution>Auto-detected candidate resolutions, in display order. The list may be empty when no candidate is obvious.
Implementations§
Source§impl ConflictSymbol
impl ConflictSymbol
pub fn validate(&self) -> Result<(), ConflictError>
Trait Implementations§
Source§impl Clone for ConflictSymbol
impl Clone for ConflictSymbol
Source§fn clone(&self) -> ConflictSymbol
fn clone(&self) -> ConflictSymbol
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 moreSource§impl Debug for ConflictSymbol
impl Debug for ConflictSymbol
Source§impl<'de> Deserialize<'de> for ConflictSymbol
impl<'de> Deserialize<'de> for ConflictSymbol
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConflictSymbol
Source§impl PartialEq for ConflictSymbol
impl PartialEq for ConflictSymbol
Source§fn eq(&self, other: &ConflictSymbol) -> bool
fn eq(&self, other: &ConflictSymbol) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConflictSymbol
impl Serialize for ConflictSymbol
impl StructuralPartialEq for ConflictSymbol
Auto Trait Implementations§
impl Freeze for ConflictSymbol
impl RefUnwindSafe for ConflictSymbol
impl Send for ConflictSymbol
impl Sync for ConflictSymbol
impl Unpin for ConflictSymbol
impl UnsafeUnpin for ConflictSymbol
impl UnwindSafe for ConflictSymbol
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