use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use sqlx::FromRow; use uuid::Uuid; #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)] pub struct RepoDeployKeyModel { pub id: i64, pub repo: Uuid, pub title: String, pub public_key: String, pub fingerprint: String, pub key_type: String, pub key_bits: Option, pub read_only: bool, pub last_used_at: Option>, pub expires_at: Option>, pub is_revoked: bool, pub created_by: Uuid, pub created_at: DateTime, pub updated_at: DateTime, }