pub struct GitInfo {
pub recent_commits: Vec<CommitSummary>,
pub modified_files: Vec<String>,
pub ahead: usize,
pub behind: usize,
pub remote_branch: Option<String>,
}Fields§
§recent_commits: Vec<CommitSummary>§modified_files: Vec<String>§ahead: usize§behind: usize§remote_branch: Option<String>Trait Implementations§
impl StructuralPartialEq for GitInfo
Auto Trait Implementations§
impl Freeze for GitInfo
impl RefUnwindSafe for GitInfo
impl Send for GitInfo
impl Sync for GitInfo
impl Unpin for GitInfo
impl UnsafeUnpin for GitInfo
impl UnwindSafe for GitInfo
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