linode_rs/data/
linode_os.rs1use serde::Deserialize;
2
3#[derive(Deserialize, Debug)]
4pub struct LinodeOsListRoot {
5 pub data: Vec<LinodeOs>,
6 pub page: u32,
7 pub pages: u32,
8 pub results: u32,
9}
10
11#[derive(Deserialize, Debug)]
12pub struct LinodeOs {
13 pub id: String,
14 pub label: String,
15 pub deprecated: bool,
16 pub size: u32,
17 pub created: String,
18 pub updated: String,
19 pub description: Option<String>,
20 pub created_by: String,
21 #[serde(rename = "type")]
22 pub ttype: String,
23 pub is_public: bool,
24 pub vendor: String,
25 pub expiry: Option<String>,
26 pub eol: Option<String>,
27 pub status: String,
28 pub capabilities: Vec<String>,
29}