Struct git2::AnnotatedCommit[][src]

pub struct AnnotatedCommit<'repo> { /* fields omitted */ }
Expand description

A structure to represent an annotated commit, the input to merge and rebase.

An annotated commit contains information about how it was looked up, which may be useful for functions like merge or rebase to provide context to the operation.

Implementations

Gets the commit ID that the given git_annotated_commit refers to

Get the refname that the given git_annotated_commit refers to

Returns None if it is not valid utf8

Get the refname that the given git_annotated_commit refers to.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.