openai_struct/models/
message_content_image_url_object_image_url.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11#[allow(unused_imports)]
12use serde_json::Value;
13
14#[derive(Debug, Serialize, Deserialize)]
15pub struct MessageContentImageUrlObjectImageUrl {
16    /// Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`. Default value is `auto`
17    #[serde(rename = "detail")]
18    pub detail: Option<String>,
19    /// The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
20    #[serde(rename = "url")]
21    pub url: String,
22}