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

Builder for Projects.

Implementations

Search for projects using a query string.

The search query will be escaped automatically.

Filter projects by its archived state.

Filter projects by its visibility.

Search ancestor namespaces when matching filters.

Defaults to false.

Return only simple fields for search results.

Filter projects by those owned by the API caller.

Filter projects by those the API caller is a member of.

Filter projects by those the API caller has starred.

Include project statistics in the results.

Filter projects by whether issues are enabled.

Filter projects by whether merge requests are enabled.

Filter projects by programming language.

Filter projects by those with a failing wiki checksum.

Filter projects by those with a failing repository checksum.

Filter projects by those where the API caller has a minimum access level.

Search for projects with custom attributes.

Filter projects by those with at least this ID.

Filter projects by those with at most this ID.

Filter projects by those with activity after this date.

Filter projects by those without activity before this date.

Filter projects by which storage backend the repository is on.

Available to administrators only.

Order results by a given key.

The sort order for return results.

Builds a new Projects.

Errors

If a required field has not been initialized.

Add a custom attribute search parameter.

Add multiple custom attribute search parameters.

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

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

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