pub struct CommitEntry {
pub sha: String,
pub short_sha: String,
pub summary: String,
pub author: String,
pub timestamp: i64,
}Fields§
§sha: StringFull 40-char commit sha.
short_sha: StringFirst 7 chars of sha (git’s conventional short form).
summary: StringFirst line of the commit message.
Commit author in "Name <email>" form.
timestamp: i64Commit author time, unix epoch seconds.
Trait Implementations§
Source§impl Clone for CommitEntry
impl Clone for CommitEntry
Source§fn clone(&self) -> CommitEntry
fn clone(&self) -> CommitEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitEntry
impl Debug for CommitEntry
Source§impl<'de> Deserialize<'de> for CommitEntry
impl<'de> Deserialize<'de> for CommitEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommitEntry
Source§impl PartialEq for CommitEntry
impl PartialEq for CommitEntry
Source§impl Serialize for CommitEntry
impl Serialize for CommitEntry
impl StructuralPartialEq for CommitEntry
Auto Trait Implementations§
impl Freeze for CommitEntry
impl RefUnwindSafe for CommitEntry
impl Send for CommitEntry
impl Sync for CommitEntry
impl Unpin for CommitEntry
impl UnsafeUnpin for CommitEntry
impl UnwindSafe for CommitEntry
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.