trieve_client/models/
recommendation_analytics.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(tag = "type")]
15pub enum RecommendationAnalytics {
16    #[serde(rename="LowConfidenceRecommendations")]
17    LowConfidenceRecommendations(Box<models::LowConfidenceRecommendations>),
18    #[serde(rename="RecommendationQueries")]
19    RecommendationQueries(Box<models::RecommendationQueries>),
20}
21
22impl Default for RecommendationAnalytics {
23    fn default() -> Self {
24        Self::LowConfidenceRecommendations(Default::default())
25    }
26}
27
28