pub struct CommitEntry {
pub id: String,
pub oid: String,
pub author: String,
pub when: String,
pub date: String,
pub summary: String,
pub message: String,
pub refs: Vec<String>,
pub files: Vec<FileEntry>,
pub signature_status: String,
}Fields§
§id: StringShort 7-char display ID.
oid: StringFull 40-char hex OID — used for diff lookup.
when: String§date: String§summary: String§message: String§refs: Vec<String>Local branch names and tags pointing at this commit.
Tags are prefixed with "tag:", remote branches with "remote:".
files: Vec<FileEntry>Files changed in this commit (diff against first parent, or empty tree).
signature_status: StringGPG/SSH signature status.
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 moreAuto 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