/ backend / src / models / blob.rs
blob.rs
 1  use sqlx::types::chrono::{DateTime, Utc};
 2  use uuid::Uuid;
 3  
 4  #[derive(Debug, Clone, sqlx::FromRow)]
 5  pub struct Blob {
 6      pub id: Uuid,
 7      pub repository: String,
 8      pub digest: String,
 9      pub created_at: DateTime<Utc>,
10  }