Skip to main content

langfuse_client_base/models/
experiments_response_meta.rs

1/*
2 * server
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
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, Default, Debug, PartialEq, Serialize, Deserialize, bon::Builder)]
15pub struct ExperimentsResponseMeta {
16    /// Versioned base64url cursor for retrieving the next page. Absent when there are no more results.
17    #[serde(
18        rename = "cursor",
19        default,
20        with = "::serde_with::rust::double_option",
21        skip_serializing_if = "Option::is_none"
22    )]
23    pub cursor: Option<Option<String>>,
24}
25
26impl ExperimentsResponseMeta {
27    pub fn new() -> ExperimentsResponseMeta {
28        ExperimentsResponseMeta { cursor: None }
29    }
30}