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
UserId(u64)The user's ID.
Username(String)The user's username.
Trait Implementations
impl<'a> From<&'a str> for GetBeatmapUser[src]
fn from(username: &'a str) -> GetBeatmapUser[src]
Performs the conversion.
impl From<String> for GetBeatmapUser[src]
fn from(username: String) -> GetBeatmapUser[src]
Performs the conversion.
impl From<u64> for GetBeatmapUser[src]
fn from(user_id: u64) -> GetBeatmapUser[src]
Performs the conversion.