pub struct GitInfo {
pub branch: Option<String>,
pub commit: Option<String>,
pub author: Option<String>,
pub date: Option<String>,
}Expand description
Git repository information.
Fields§
§branch: Option<String>Current branch name.
commit: Option<String>Last commit hash.
Last commit author.
date: Option<String>Last commit date.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitInfo
impl RefUnwindSafe for GitInfo
impl Send for GitInfo
impl Sync for GitInfo
impl Unpin 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