1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use crate::belling::utils::json::data::Data; #[derive(serde::Deserialize, serde::Serialize)] pub struct Entity{ pub data: Data } impl Entity { pub fn new() -> Self{ Entity{ data: Data::new() } } }