pub struct CommitWithFiles {
pub commit: Commit,
pub files: Vec<String>,
}Expand description
A commit paired with the workspace-relative paths it touched.
Produced by the --name-only fetch variants so the changelog renderers can
apply a precise changelog.paths glob intersect over the git-pathspec
scope (see crate::changelog_scope).
Fields§
§commit: CommitThe commit metadata.
files: Vec<String>Paths this commit touched, relative to the repo root.
Trait Implementations§
Source§impl Clone for CommitWithFiles
impl Clone for CommitWithFiles
Source§fn clone(&self) -> CommitWithFiles
fn clone(&self) -> CommitWithFiles
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 moreAuto Trait Implementations§
impl Freeze for CommitWithFiles
impl RefUnwindSafe for CommitWithFiles
impl Send for CommitWithFiles
impl Sync for CommitWithFiles
impl Unpin for CommitWithFiles
impl UnsafeUnpin for CommitWithFiles
impl UnwindSafe for CommitWithFiles
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