pub struct CommitHeader {
pub tree: Option<String>,
pub parents: Vec<String>,
pub committer_time: Option<i64>,
}Expand description
The header fields of a commit payload that the commit graph needs.
Fields§
§tree: Option<String>§parents: Vec<String>§committer_time: Option<i64>Committer timestamp, unix seconds. None when absent or unparsable.
Trait Implementations§
Source§impl Clone for CommitHeader
impl Clone for CommitHeader
Source§fn clone(&self) -> CommitHeader
fn clone(&self) -> CommitHeader
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 CommitHeader
impl Debug for CommitHeader
Source§impl Default for CommitHeader
impl Default for CommitHeader
Source§fn default() -> CommitHeader
fn default() -> CommitHeader
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommitHeader
impl RefUnwindSafe for CommitHeader
impl Send for CommitHeader
impl Sync for CommitHeader
impl Unpin for CommitHeader
impl UnsafeUnpin for CommitHeader
impl UnwindSafe for CommitHeader
Blanket Implementations§
impl<T> Allocation for T
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