openai-client-base 0.16.0

Auto-generated Rust client for the OpenAI API
/*
 * OpenAI API
 *
 * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
 *
 * The version of the OpenAPI document: 2.3.0
 *
 * Generated by: https://openapi-generator.tech
 */

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

/// EnvironmentFilePageObjectResource : The object type for a page of files in an execution environment.
/// The object type for a page of files in an execution environment.
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum EnvironmentFilePageObjectResource {
    #[serde(rename = "page")]
    Page,
}

impl std::fmt::Display for EnvironmentFilePageObjectResource {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Page => write!(f, "page"),
        }
    }
}

impl Default for EnvironmentFilePageObjectResource {
    fn default() -> EnvironmentFilePageObjectResource {
        Self::Page
    }
}