Line data    Source code 
       1              : use serde::{Deserialize, Serialize};
       2              : 
       3            0 : #[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq)]
       4              : pub struct PgdataStatus {
       5              :     pub done: bool,
       6              :     // TODO: remaining fields
       7              : }
       8              : 
       9            0 : #[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq)]
      10              : pub struct ShardStatus {
      11              :     pub done: bool,
      12              :     // TODO: remaining fields
      13              : }
      14              : 
      15              : // TODO: dedupe with fast_import code
      16            0 : #[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq)]
      17              : pub struct Spec {
      18              :     pub project_id: String,
      19              :     pub branch_id: String,
      20              : }
        
               |