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§impl Debug for CommitHeader
impl Debug for CommitHeader
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