pub struct GitCommit {
pub hash: String,
pub author: String,
pub date: String,
pub message: String,
}Expand description
Represents a git commit with its metadata.
Fields§
§hash: StringThe commit hash.
The commit author.
date: StringThe commit date.
message: StringThe commit message.
Auto Trait Implementations§
impl Freeze for GitCommit
impl RefUnwindSafe for GitCommit
impl Send for GitCommit
impl Sync for GitCommit
impl Unpin for GitCommit
impl UnsafeUnpin for GitCommit
impl UnwindSafe for GitCommit
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