pub struct Commit<'a> {
pub tree: Oid,
pub parents: Vec<Oid>,
pub author: Sig<'a>,
pub committer: Sig<'a>,
pub message: &'a [u8],
}Fields§
§tree: Oid§parents: Vec<Oid>§committer: Sig<'a>§message: &'a [u8]header と空行を除いたコミットメッセージ。
Trait Implementations§
Source§impl<'a> PartialEq for Commit<'a>
impl<'a> PartialEq for Commit<'a>
impl<'a> Eq for Commit<'a>
impl<'a> StructuralPartialEq for Commit<'a>
Auto Trait Implementations§
impl<'a> Freeze for Commit<'a>
impl<'a> RefUnwindSafe for Commit<'a>
impl<'a> Send for Commit<'a>
impl<'a> Sync for Commit<'a>
impl<'a> Unpin for Commit<'a>
impl<'a> UnsafeUnpin for Commit<'a>
impl<'a> UnwindSafe for Commit<'a>
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