pub struct VcsFileChange {
pub path: String,
pub old_path: Option<String>,
pub status: FileChangeStatus,
pub changed_lines: Vec<(i64, i64)>,
}Expand description
A file changed in VCS (git diff output mapped to domain types).
Fields§
§path: String§old_path: Option<String>§status: FileChangeStatus§changed_lines: Vec<(i64, i64)>Trait Implementations§
Source§impl Clone for VcsFileChange
impl Clone for VcsFileChange
Source§fn clone(&self) -> VcsFileChange
fn clone(&self) -> VcsFileChange
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 moreAuto Trait Implementations§
impl Freeze for VcsFileChange
impl RefUnwindSafe for VcsFileChange
impl Send for VcsFileChange
impl Sync for VcsFileChange
impl Unpin for VcsFileChange
impl UnsafeUnpin for VcsFileChange
impl UnwindSafe for VcsFileChange
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