osynic_osuapi 0.1.10

High performance, well-structured, extensible Rust osu! API client. Supports both WASM and native environments.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Forum
// Field 	Type 	Notes
// id 	integer
// name 	string
// description 	string
// subforums 	Forum[]? 	Maximum 2 layers of subforums from the top-level Forum

use serde::{Deserialize, Serialize};

#[cfg_attr(feature = "export", derive(tsify::Tsify))]
#[cfg_attr(feature = "export", tsify(into_wasm_abi, from_wasm_abi))]
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Forum {
    pub id: u64,
    pub name: String,
    pub description: String,
    pub subforums: Option<Vec<Forum>>,
}