1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use serde::Deserialize;
#[derive(Debug, Deserialize)]
pub struct ProjectRes {
pub id: String,
}
#[derive(Debug, Deserialize)]
pub struct SingleProjectResponse {
pub project: Project,
}
#[derive(Debug, Deserialize, Clone)]
pub struct Project {
pub id: String,
pub name: String,
pub created_at: String,
pub icon: Option<String>,
pub namespace: String,
#[serde(rename = "type")]
pub type_: String,
}
#[derive(Debug, Deserialize)]
pub struct ThisProjectResponse {
pub leap_token: String,
pub project: Project,
}