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
use serde::{Deserialize, Serialize};
use serde_json::Value;
use std::collections::HashMap;

#[derive(Serialize, Deserialize, Debug)]
pub struct SkyblockNewsResponse {
    pub success: bool,
    pub items: Vec<SkyblockNews>,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct SkyblockNews {
    pub item: HashMap<String, Value>,
    pub link: String,
    pub text: String,
    pub title: String,
}