Struct radicle_surf::Commit
source · pub struct Commit {
pub id: Oid,
pub author: Author,
pub committer: Author,
pub message: String,
pub summary: String,
pub parents: Vec<Oid>,
}
Expand description
Commit
is the metadata of a Git commit.
Fields§
§id: Oid
Object Id
The author of the commit.
committer: Author
The actor who committed this commit.
message: String
The long form message of the commit.
summary: String
The summary message of the commit.
parents: Vec<Oid>
The parents of this commit.
Implementations§
Trait Implementations§
source§impl Ord for Commit
impl Ord for Commit
source§impl PartialOrd for Commit
impl PartialOrd for Commit
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)