langfuse-client-base 0.14.0

Auto-generated Langfuse API client from OpenAPI specification
Documentation
/*
 * server
 *
 * ## 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
 *
 * The version of the OpenAPI document:
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum ScoreV3 {
    ScoreV3OneOf(Box<models::ScoreV3OneOf>),
    ScoreV3OneOf1(Box<models::ScoreV3OneOf1>),
    ScoreV3OneOf2(Box<models::ScoreV3OneOf2>),
    ScoreV3OneOf3(Box<models::ScoreV3OneOf3>),
    ScoreV3OneOf4(Box<models::ScoreV3OneOf4>),
}

impl Default for ScoreV3 {
    fn default() -> Self {
        Self::ScoreV3OneOf(Default::default())
    }
}
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum DataType {
    #[serde(rename = "CORRECTION")]
    Correction,
}

impl Default for DataType {
    fn default() -> DataType {
        Self::Correction
    }
}