pub struct StagedOutcome {
pub message: String,
pub applied: bool,
}Expand description
Outcome of a staged-commit run.
Fields§
§message: StringThe generated commit message (trimmed of surrounding whitespace).
applied: booltrue when the commit was applied to the repository; false for
--print-only or any path that did not run git commit.
Trait Implementations§
Source§impl Clone for StagedOutcome
impl Clone for StagedOutcome
Source§fn clone(&self) -> StagedOutcome
fn clone(&self) -> StagedOutcome
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 StagedOutcome
impl RefUnwindSafe for StagedOutcome
impl Send for StagedOutcome
impl Sync for StagedOutcome
impl Unpin for StagedOutcome
impl UnsafeUnpin for StagedOutcome
impl UnwindSafe for StagedOutcome
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