pub struct EditMergeRequestBuilder<'a> { /* private fields */ }
Expand description

Builder for EditMergeRequest.

Implementations§

The project to open the merge requset from.

The merge request to edit.

The name of the target branch for the merge request.

The title for the merge request.

The ID of the milestone to add the merge request to.

The description of the merge request.

Change the state of the merge request.

Whether to remove the source branch once merged or not.

Whether to squash the branch when merging or not.

Whether to lock discussion or not..

Whether to allow collaboration with maintainers of the target project or not.

Whether to allow collaboration with maintainers of the target project or not.

Builds a new EditMergeRequest.

Errors

If a required field has not been initialized.

Unset assignee(s) of merge request

Assign merge request to a user (by ID).

Assign merge request to users (by ID).

Filter merge requests without a reviewer.

Filter merge requests reviewed by a user (by ID).

Filter merge requests reviewed by users (by ID).

👎Deprecated: use clear_labels instead

Remove all labels from the issue.

Remove all labels from the issue.

Add a label

Add multiple labels

Add a label to the merge request.

This is an incremental addition to the existing set of labels on the merge request.

Remove a label from the merge request.

This is an incremental remove form the existing set of labels on the merge request.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. 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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more