pub struct GitCommitPreview {
pub message: String,
pub files: Vec<String>,
}Expand description
Outcome of --git-commit --preview — what would be committed if
the merge ran for real.
Fields§
§message: String§files: Vec<String>Trait Implementations§
Source§impl Clone for GitCommitPreview
impl Clone for GitCommitPreview
Source§fn clone(&self) -> GitCommitPreview
fn clone(&self) -> GitCommitPreview
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 GitCommitPreview
impl Debug for GitCommitPreview
Auto Trait Implementations§
impl Freeze for GitCommitPreview
impl RefUnwindSafe for GitCommitPreview
impl Send for GitCommitPreview
impl Sync for GitCommitPreview
impl Unpin for GitCommitPreview
impl UnsafeUnpin for GitCommitPreview
impl UnwindSafe for GitCommitPreview
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