use serde_derive::{Deserialize, Serialize}; use serde_json::Value as JsonValue; #[derive(Serialize, Deserialize, Debug, Default)] pub struct User { id: i32, first_name: String, last_name: String, username: String, phone_number: String, status: JsonValue, profile_photo: JsonValue, is_contact: bool, is_mutual_contact: bool, is_verified: bool, is_support: bool, restriction_reason: String, is_scam: bool, have_access: bool, #[serde(rename = "type")] type_: JsonValue, language_code: String, }