use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use uuid::Uuid; #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)] pub struct RepoStats { pub repo_id: Uuid, pub stars_count: i64, pub watchers_count: i64, pub forks_count: i64, pub branches_count: i64, pub tags_count: i64, pub commits_count: i64, pub releases_count: i64, pub open_issues_count: i64, pub open_pull_requests_count: i64, pub size_bytes: i64, pub last_push_at: Option>, pub updated_at: DateTime, }