You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
311 B
22 lines
311 B
use std::collections::HashMap;
|
|
|
|
use serde_derive::Deserialize;
|
|
use serde_json::Value;
|
|
|
|
use crate::mudlet;
|
|
|
|
#[derive(Debug, Deserialize)]
|
|
pub struct Area {
|
|
/// area id
|
|
//id: i64,
|
|
|
|
/// area name
|
|
//name: String,
|
|
|
|
/// rooms
|
|
pub rooms: Vec<mudlet::Room>,
|
|
|
|
#[serde(flatten)]
|
|
_extra: HashMap<String, Value>,
|
|
}
|