pub struct FileConflictInfo {
pub path: PathBuf,
pub old_content: String,
pub new_content: String,
pub diff: FileDiff,
}Expand description
Information about a file conflict
Fields§
§path: PathBufPath to the conflicting file
old_content: StringExisting file content
new_content: StringNew generated content
diff: FileDiffDiff between old and new content
Trait Implementations§
Source§impl Clone for FileConflictInfo
impl Clone for FileConflictInfo
Source§fn clone(&self) -> FileConflictInfo
fn clone(&self) -> FileConflictInfo
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 FileConflictInfo
impl Debug for FileConflictInfo
Source§impl<'de> Deserialize<'de> for FileConflictInfo
impl<'de> Deserialize<'de> for FileConflictInfo
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 FileConflictInfo
impl RefUnwindSafe for FileConflictInfo
impl Send for FileConflictInfo
impl Sync for FileConflictInfo
impl Unpin for FileConflictInfo
impl UnwindSafe for FileConflictInfo
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