rs-pixel 0.2.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 serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct KeyResponse {
    pub success: bool,
    pub record: Record,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct Record {
    pub key: String,
    pub owner: String,
    pub limit: i64,
    #[serde(rename = "queriesInPastMin")]
    pub queries_in_past_min: i64,
    #[serde(rename = "totalQueries")]
    pub total_queries: i64,
}