You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
443 B
Rust

use serde_json::Value;
#[derive(Deserialize, Debug, Clone)]
#[serde(rename_all(deserialize = "camelCase", serialize = "snake_case"))]
pub struct Item {
pub id: u32,
pub display_name: String,
pub stack_size: u8,
pub enchant_categories: Option<Vec<String>>,
pub fixed_with: Option<Vec<String>>,
pub max_durability: Option<u32>,
pub name: String,
pub variations: Option<Value>,
pub durability: Option<u32>,
}