Struct osu::builder::GetScoreRequest [] [src]

pub struct GetScoreRequest<'a>(pub BTreeMap<&'a str, String>);

A builder used in conjunction with OsuRequester::get_scores for optional parameters.

Methods

impl<'a> GetScoreRequest<'a>
[src]

[src]

Specify the number of performances to retrieve at maximum.

Refer to GetUserRequest::limit for examples.

[src]

Specify the mode to filter by.

Refer to GetUserRequest::mode for examples.

[src]

Filters results by scores with certain Mods enabled.

[src]

Specify the user to retrieve a beatmap's top scores for. Pass in a u64 to search by Id, or a string to search by username.

This will automatically set the 'type' based on what is passed.

Trait Implementations

impl<'a> Default for GetScoreRequest<'a>
[src]

[src]

Returns the "default value" for a type. Read more