pub struct CommitInfo {
pub sha: String,
pub timestamp: DateTime<Utc>,
pub branch: Option<String>,
pub summary: String,
}Expand description
Information about a specific git commit.
Contains the SHA, timestamp, branch, and author information.
Fields§
§sha: StringFull SHA of the commit.
timestamp: DateTime<Utc>When the commit was authored.
branch: Option<String>Branch name the commit is on (if determinable).
summary: StringCommit message summary (first line).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommitInfo
impl RefUnwindSafe for CommitInfo
impl Send for CommitInfo
impl Sync for CommitInfo
impl Unpin for CommitInfo
impl UnwindSafe for CommitInfo
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