langfuse_client_base/models/
get_scores_response_data.rs

1/*
2 * langfuse
3 *
4 * ## Authentication  Authenticate with the API using [Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication), get API keys in the project settings:  - username: Langfuse Public Key - password: Langfuse Secret Key  ## Exports  - OpenAPI spec: https://cloud.langfuse.com/generated/api/openapi.yml - Postman collection: https://cloud.langfuse.com/generated/postman/collection.json
5 *
6 * The version of the OpenAPI document:
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum GetScoresResponseData {
17    GetScoresResponseDataOneOf(Box<models::GetScoresResponseDataOneOf>),
18    GetScoresResponseDataOneOf1(Box<models::GetScoresResponseDataOneOf1>),
19    GetScoresResponseDataOneOf2(Box<models::GetScoresResponseDataOneOf2>),
20}
21
22impl Default for GetScoresResponseData {
23    fn default() -> Self {
24        Self::GetScoresResponseDataOneOf(Default::default())
25    }
26}
27///
28#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
29pub enum DataType {
30    #[serde(rename = "BOOLEAN")]
31    Boolean,
32}
33
34impl Default for DataType {
35    fn default() -> DataType {
36        Self::Boolean
37    }
38}