1use serde::{Deserialize, Serialize}; 2 3/// Represents text parsed from game files. 4#[derive(Debug, Serialize, Deserialize)] 5pub struct Text { 6 pub id: String, 7 pub content_length: i32, 8 pub content: String, 9 pub text_type: i32, 10 pub mark: String 11}