pub struct GitSignals {
pub branch: String,
pub recent_commits: Vec<CommitSummary>,
pub staged_changes: Vec<ChangeSummary>,
pub unstaged_changes: Vec<ChangeSummary>,
pub clean_worktree: bool,
}Fields§
§branch: String§recent_commits: Vec<CommitSummary>§staged_changes: Vec<ChangeSummary>§unstaged_changes: Vec<ChangeSummary>§clean_worktree: boolTrait Implementations§
Source§impl Clone for GitSignals
impl Clone for GitSignals
Source§fn clone(&self) -> GitSignals
fn clone(&self) -> GitSignals
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 GitSignals
impl Debug for GitSignals
Auto Trait Implementations§
impl Freeze for GitSignals
impl RefUnwindSafe for GitSignals
impl Send for GitSignals
impl Sync for GitSignals
impl Unpin for GitSignals
impl UnsafeUnpin for GitSignals
impl UnwindSafe for GitSignals
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