pub struct CreateCommitOptions { /* private fields */ }
Expand description

Options for creating a new commit.

Implementations

Create a new instance.

Set the author name and related email address.

Set the author name.

Set the author email address.

Set the authored commit time.

Set the committer name and related email address.

Set the committer name.

Set the committer email.

Set the committed commit time.

Set the head name.

Set the commit message.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.