trieve_client/models/match_condition.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 MatchCondition {
16 String(String),
17 Integer(i64),
18 Number(f64),
19}
20
21impl Default for MatchCondition {
22 fn default() -> Self {
23 Self::String(Default::default())
24 }
25}
26