1 2 3 4 5 6 7 8 9
use serde::{Deserialize, Serialize}; #[derive(Debug, Serialize, Deserialize)] pub struct ResponseError { pub code: Option<u16>, pub message: String, pub param: Option<String>, pub r#type: String, }