use crate::author::Author;
use crate::url::Url;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug)]
pub struct ReposAPIResponse {
pub results: Vec<Repo>,
pub count: usize,
pub next: Option<Url>,
pub previous: Option<Url>,
pub total_pages: usize,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct Repo {
pub name: String,
pub private: bool,
pub updatestamp: Option<String>, pub author: Author,
pub language: Option<String>,
pub branch: Option<String>,
pub active: bool,
pub activated: bool,
}