Struct discord_sdk::lobby::search::SearchQuery[][src]

pub struct SearchQuery { /* fields omitted */ }
Expand description

A query used to search for lobbies that match a set of criteria.

By default, this will find a maximum of 25 lobbies in the same or adjacent regions as the current user.

Implementations

Adds a filter to the query which compares the value of the specified key with the specified comparison against the specified value.

API docs

Sorts the filtered lobbies based on “near-ness” of the specified key’s value to the specified sort value.

API docs

Sets the maximum number of lobbies that can be returned by the search.

API docs

Filters lobby results to within certain regions relative to the user’s location.

API docs

Trait Implementations

Returns the “default value” for a type. Read more

Serialize this value into the given Serde serializer. 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 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