pub struct CommitCreate {
pub tree: ObjectId,
pub parents: Vec<ObjectId>,
pub author: Vec<u8>,
pub committer: Vec<u8>,
pub message: Vec<u8>,
pub encoding: Option<Vec<u8>>,
pub signature: Option<Vec<u8>>,
}Fields§
§tree: ObjectId§parents: Vec<ObjectId>§committer: Vec<u8>§message: Vec<u8>§encoding: Option<Vec<u8>>encoding header value (i18n.commitEncoding); None/UTF-8 omits it.
signature: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for CommitCreate
impl Clone for CommitCreate
Source§fn clone(&self) -> CommitCreate
fn clone(&self) -> CommitCreate
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 CommitCreate
impl Debug for CommitCreate
impl Eq for CommitCreate
Source§impl PartialEq for CommitCreate
impl PartialEq for CommitCreate
Source§fn eq(&self, other: &CommitCreate) -> bool
fn eq(&self, other: &CommitCreate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommitCreate
Auto Trait Implementations§
impl Freeze for CommitCreate
impl RefUnwindSafe for CommitCreate
impl Send for CommitCreate
impl Sync for CommitCreate
impl Unpin for CommitCreate
impl UnsafeUnpin for CommitCreate
impl UnwindSafe for CommitCreate
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