pub struct AddedCommit {
pub sha: String,
pub subject: String,
pub body: String,
}Expand description
The commit that introduced a path, from GitRepo::commit_that_added.
Fields§
§sha: StringFull commit sha.
subject: StringFirst line of the commit message.
body: StringThe message body after the subject (carries the trailer block).
Trait Implementations§
Source§impl Clone for AddedCommit
impl Clone for AddedCommit
Source§fn clone(&self) -> AddedCommit
fn clone(&self) -> AddedCommit
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 AddedCommit
impl Debug for AddedCommit
impl Eq for AddedCommit
Source§impl PartialEq for AddedCommit
impl PartialEq for AddedCommit
impl StructuralPartialEq for AddedCommit
Auto Trait Implementations§
impl Freeze for AddedCommit
impl RefUnwindSafe for AddedCommit
impl Send for AddedCommit
impl Sync for AddedCommit
impl Unpin for AddedCommit
impl UnsafeUnpin for AddedCommit
impl UnwindSafe for AddedCommit
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