pub trait BeatmapMethods {
    fn get_beatmap_by_id(
        &self,
        map_id: &str,
        m: Modes,
        limit: i32
    ) -> Result<Vec<BeatmapConstructor>, ()>; fn get_beatmap_by_set(
        &self,
        set_id: &str,
        m: Modes,
        limit: i32
    ) -> Result<Vec<BeatmapConstructor>, ()>; fn get_beatmap_by_user(
        &self,
        user: &str,
        m: Modes,
        limit: i32
    ) -> Result<Vec<BeatmapConstructor>, ()>; fn get_beatmap_by_hash(
        &self,
        hash: &str,
        m: Modes,
        limit: i32
    ) -> Result<Vec<BeatmapConstructor>, ()>; }

Required Methods§

Implementors§