pub struct Commit {
pub sha: String,
pub author: String,
pub time: String,
pub summary: String,
pub number: Option<u32>,
pub message: String,
}Expand description
A single commit
Fields§
§sha: StringThe SHA
The author
time: StringThe timestamp
summary: StringThe summary
number: Option<u32>The change number
message: StringThe message
Implementations§
Trait Implementations§
Source§impl<'a> IntoIterator for &'a Commit
impl<'a> IntoIterator for &'a Commit
impl Eq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnwindSafe for Commit
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