Struct gitlab::api::projects::issues::CreateIssueBuilder[][src]

pub struct CreateIssueBuilder<'a> { /* fields omitted */ }
Expand description

Builder for CreateIssue.

Implementations

The project to add the issue to.

The title of the new issue.

Note: this is technically optional if merge_request_to_resolve_discussions_of is given, but to avoid more complicated shenanigans around choosing one or the other, this is always marked as required. Instead, if title is explictly empty and merge_request_to_resolve_discussions_of is given, title will not be sent allowing GitLab to generate the default title.

The internal ID of the issue.

Requires administrator or owner permissions.

The description of the new issue.

Whether the issue is confidential or not.

The ID of the milestone for the issue.

The creation date of the issue.

Requires administrator or owner permissions.

The due date for the issue.

The ID of a merge request for which to resolve the discussions.

Resolves all open discussions unless discussion_to_resolve is also passed.

The ID of the discussion to resolve.

The weight of the issue.

The ID of the epic to add the issue to.

The internal ID of the epic to add the issue to.

Builds a new CreateIssue.

Errors

If a required field has not been initialized.

Assign the issue to a user.

Assign the issue to a set of users.

Add a label to the issue.

Add a set of labels to the issue.

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

Performs the conversion.

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

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.