Struct gitlab::api::users::UsersBuilder[][src]

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

Builder for Users.

Implementations

Search for users using a query string.

The search query will be escaped automatically.

Get a user with a given username.

Return only active users.

Return only blocked users.

Search for a user with a given external provider identity.

Whether to return external users or not.

Return users created before a given date.

Return users created after a given date.

Search for users with custom attributes.

Order results by a given key.

The sort order for return results.

Return users with a two-factor enabled or not.

If set to true, filter out users without any projects.

Exclude internal users.

These are generally Service Desk users or other GitLab-managed users.

Filter uses based on administrator status.

Builds a new Users.

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

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.