langfuse_client/models/
annotation_queue_status.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/// 
15#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
16pub enum AnnotationQueueStatus {
17    #[serde(rename = "PENDING")]
18    Pending,
19    #[serde(rename = "COMPLETED")]
20    Completed,
21
22}
23
24impl std::fmt::Display for AnnotationQueueStatus {
25    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
26        match self {
27            Self::Pending => write!(f, "PENDING"),
28            Self::Completed => write!(f, "COMPLETED"),
29        }
30    }
31}
32
33impl Default for AnnotationQueueStatus {
34    fn default() -> AnnotationQueueStatus {
35        Self::Pending
36    }
37}
38