use serde::Deserialize; #[derive(Deserialize)] pub struct APIErrorResponse { pub errors: Vec } #[derive(Deserialize)] pub struct APIError { pub code: String, pub message: String, pub path: Option }