Struct radicle_surf::vcs::git::commit::Commit[][src]

pub struct Commit {
    pub id: Oid,
    pub author: Author,
    pub committer: Author,
    pub message: String,
    pub summary: String,
    pub parents: Vec<Oid>,
}

Commit is the static information of a git2::Commit. To get back the original Commit in the repository we can use the Oid to retrieve it.

Fields

id: Oid

Object ID of the Commit, i.e. the SHA1 digest.

author: Author

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.

Trait Implementations

impl Clone for Commit[src]

impl Debug for Commit[src]

impl Eq for Commit[src]

impl Ord for Commit[src]

impl PartialEq<Commit> for Commit[src]

impl PartialOrd<Commit> for Commit[src]

impl StructuralEq for Commit[src]

impl StructuralPartialEq for Commit[src]

impl<'repo> TryFrom<Commit<'repo>> for Commit[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'a> VCS<Commit, Error> for RepositoryRef<'a>[src]

type HistoryId = Rev

The way to identify a History.

type ArtefactId = Oid

The way to identify an artefact.

Auto Trait Implementations

impl RefUnwindSafe for Commit

impl Send for Commit

impl Sync for Commit

impl Unpin for Commit

impl UnwindSafe for Commit

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.