mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-26 14:40:05 +01:00
19 lines
385 B
Rust
19 lines
385 B
Rust
use serde::Deserialize;
|
|
use uuid::Uuid;
|
|
|
|
use super::Settings;
|
|
|
|
#[derive(Deserialize, Debug, Clone)]
|
|
#[cfg_attr(test, derive(serde::Serialize))]
|
|
pub struct IndexUuid {
|
|
pub uid: String,
|
|
pub uuid: Uuid,
|
|
}
|
|
|
|
#[derive(Deserialize)]
|
|
#[cfg_attr(test, derive(serde::Serialize))]
|
|
pub struct DumpMeta {
|
|
pub settings: Settings<super::Unchecked>,
|
|
pub primary_key: Option<String>,
|
|
}
|