[go: up one dir, main page]

Struct git2::RebaseOperation

source ·
pub struct RebaseOperation<'rebase> { /* private fields */ }
Expand description

A rebase operation

Describes a single instruction/operation to be performed during the rebase.

Implementations§

The type of rebase operation

The commit ID being cherry-picked. This will be populated for all operations except those of type GIT_REBASE_OPERATION_EXEC.

The executable the user has requested be run. This will only be populated for operations of type RebaseOperationType::Exec

Trait Implementations§

Formats the value using the given formatter. 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.