use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct User {
pub username: String,
pub name: String,
pub id: u32,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Project {
pub id: u32,
pub description: Option<String>,
pub empty_repo: bool,
pub ssh_url_to_repo: String,
pub http_url_to_repo: String,
pub name: String,
pub name_with_namespace: String,
pub path: String,
pub path_with_namespace: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, Default)]
pub struct Group {
pub id: u32,
pub name: String,
pub path: String,
pub description: Option<String>,
pub full_path: String,
}