1
2
3
4
5
6
7
8
9
10
use serde::Deserialize;

#[derive(Deserialize, Debug)]
pub struct ScalewayApiError {
    pub message: String,
    pub resource: String,
    pub resource_id: String,
    #[serde(rename = "type")]
    pub etype: String,
}