mongodb_atlas_admin/api/projects/
mod.rs1use chrono::{DateTime, Utc};
2use serde::Deserialize;
3
4mod create_one;
5mod delete_one;
6mod get_all;
7
8pub use create_one::{CreateOneProject, CreateOneProjectData};
9pub use delete_one::*;
10pub use get_all::{GetAllProject, GetAllProjectData};
11
12#[derive(Debug, Deserialize)]
13#[serde(rename_all = "camelCase")]
14pub struct Project {
15 pub cluster_count: usize,
16 pub created: DateTime<Utc>,
17 pub id: String,
18 pub name: String,
19 pub org_id: String,
20}