pub struct CommitInfo {
pub tree: GitId,
pub parents: Vec<GitId>,
pub headers: Vec<(String, String)>,
pub message: String,
pub author_name: String,
pub author_email: String,
pub time_ms: i64,
}Fields§
§tree: GitId§parents: Vec<GitId>§headers: Vec<(String, String)>§message: String§time_ms: i64Author time in milliseconds (Git stores seconds).
Implementations§
Trait Implementations§
Source§impl Clone for CommitInfo
impl Clone for CommitInfo
Source§impl Debug for CommitInfo
impl Debug for CommitInfo
impl Eq for CommitInfo
Source§impl PartialEq for CommitInfo
impl PartialEq for CommitInfo
impl StructuralPartialEq for CommitInfo
Auto Trait Implementations§
impl Forget for CommitInfo
impl Freeze for CommitInfo
impl RefUnwindSafe for CommitInfo
impl Send for CommitInfo
impl Sync for CommitInfo
impl Unpin for CommitInfo
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.