mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-14 23:00:11 +08:00
19 lines
378 B
Rust
19 lines
378 B
Rust
|
use serde::Deserialize;
|
||
|
use uuid::Uuid;
|
||
|
|
||
|
use super::Settings;
|
||
|
|
||
|
#[derive(Deserialize, Debug)]
|
||
|
#[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>,
|
||
|
}
|