1use serde::Deserialize; 2 3#[derive(Deserialize, Debug)] 4pub struct ScalewayApiError { 5 pub message: String, 6 pub resource: Option<String>, 7 pub resource_id: Option<String>, 8 #[serde(rename = "type")] 9 pub etype: String, 10}