pub struct Commit {
pub id: String,
pub parents: Vec<String>,
pub body: String,
}Expand description
One commit, reduced to what the labelling needs.
Fields§
§id: StringFull object id.
parents: Vec<String>Parent object ids; 2+ means a merge.
body: StringFull commit message.
Implementations§
Trait Implementations§
impl Eq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnsafeUnpin for Commit
impl UnwindSafe for Commit
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