Enum osu::GetBeatmapUser [] [src]

pub enum GetBeatmapUser {
    UserId(u64),
    Username(String),
}

Information for retrieving a user.

User retrieval can either be done with an ID or with a username.

Variants

The user's ID.

The user's username.

Trait Implementations

impl<'a> From<&'a str> for GetBeatmapUser
[src]

[src]

Performs the conversion.

impl From<String> for GetBeatmapUser
[src]

[src]

Performs the conversion.

impl From<u64> for GetBeatmapUser
[src]

[src]

Performs the conversion.