trieve_client/models/create_chunk_group_response_enum.rs
1/*
2 * Trieve API
3 *
4 * Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5 *
6 * The version of the OpenAPI document: 0.11.7
7 * Contact: developers@trieve.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
14#[serde(untagged)]
15pub enum CreateChunkGroupResponseEnum {
16 ChunkGroup(Box<models::ChunkGroup>),
17 ChunkGroups(Vec<models::ChunkGroup>),
18}
19
20impl Default for CreateChunkGroupResponseEnum {
21 fn default() -> Self {
22 Self::ChunkGroup(Default::default())
23 }
24}
25