rs-pixel 0.1.0

A complete, rate-limiting, asynchronous Rust implementation of the Hypixel Public API with extensive SkyBlock support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::types::game_type::GameType;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

#[derive(Serialize, Deserialize, Debug)]
pub struct LeaderboardsResponse {
    pub success: bool,
    pub leaderboards: HashMap<GameType, Vec<Leaderboard>>,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct Leaderboard {
    pub path: String,
    pub prefix: String,
    pub count: i64,
    pub leaders: Vec<String>,
    pub title: String,
}