pub struct CommitPatch {
pub commit_id: GitCommitId,
pub files: Vec<FilePatch>,
}Fields§
§commit_id: GitCommitId§files: Vec<FilePatch>Trait Implementations§
Source§impl Clone for CommitPatch
impl Clone for CommitPatch
Source§fn clone(&self) -> CommitPatch
fn clone(&self) -> CommitPatch
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 CommitPatch
impl Debug for CommitPatch
impl Eq for CommitPatch
Source§impl PartialEq for CommitPatch
impl PartialEq for CommitPatch
Source§fn eq(&self, other: &CommitPatch) -> bool
fn eq(&self, other: &CommitPatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommitPatch
Auto Trait Implementations§
impl Freeze for CommitPatch
impl RefUnwindSafe for CommitPatch
impl Send for CommitPatch
impl Sync for CommitPatch
impl Unpin for CommitPatch
impl UnsafeUnpin for CommitPatch
impl UnwindSafe for CommitPatch
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