use serde::Deserialize;
use super::DigitalOceanApiMeta;
#[derive(Deserialize, Debug)]
pub struct DigitalOceanSizesRoot {
pub sizes: Vec<DigitalOceanSize>,
pub meta: DigitalOceanApiMeta,
}
#[derive(Deserialize, Debug)]
pub struct DigitalOceanSize {
pub slug: String,
pub memory: u32,
pub vcpus: u32,
pub disk: u32,
pub transfer: f32,
pub price_monthly: f64,
pub price_hourly: f64,
pub regions: Vec<String>,
pub available: bool,
pub description: String,
}