reifydb_core/interface/catalog/dictionary.rs
1// Copyright (c) reifydb.com 2025
2// This file is licensed under the AGPL-3.0-or-later, see license.md file
3
4use reifydb_type::Type;
5use serde::{Deserialize, Serialize};
6
7use crate::interface::{DictionaryId, NamespaceId};
8
9#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10pub struct DictionaryDef {
11 pub id: DictionaryId,
12 pub namespace: NamespaceId,
13 pub name: String,
14 pub value_type: Type,
15 pub id_type: Type,
16}