pub struct ConflictInfo {
pub path: PathBuf,
pub existing_content: String,
pub new_content: String,
}Expand description
Information about a detected conflict
Fields§
§path: PathBufPath where the conflict was detected
existing_content: StringContent of the existing file
new_content: StringContent of the new file
Trait Implementations§
Source§impl Clone for ConflictInfo
impl Clone for ConflictInfo
Source§fn clone(&self) -> ConflictInfo
fn clone(&self) -> ConflictInfo
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 ConflictInfo
impl Debug for ConflictInfo
Source§impl<'de> Deserialize<'de> for ConflictInfo
impl<'de> Deserialize<'de> for ConflictInfo
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
Auto Trait Implementations§
impl Freeze for ConflictInfo
impl RefUnwindSafe for ConflictInfo
impl Send for ConflictInfo
impl Sync for ConflictInfo
impl Unpin for ConflictInfo
impl UnwindSafe for ConflictInfo
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