introduce the index metadata

This commit is contained in:
Tamo
2022-10-04 19:13:30 +02:00
committed by Clément Renault
parent b5ebab5c66
commit 22b2fa0576
8 changed files with 753 additions and 53 deletions

View File

@ -0,0 +1,14 @@
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Serialize, Deserialize, Debug)]
pub struct IndexUuid {
pub uid: String,
pub index_meta: IndexMeta,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct IndexMeta {
pub uuid: Uuid,
pub creation_task_id: usize,
}