openai_struct/models/add_upload_part_request.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/// # on openapi.yaml:
15///
16/// ```yaml
17/// AddUploadPartRequest:
18/// type: object
19/// additionalProperties: false
20/// properties:
21/// data:
22/// description: |
23/// The chunk of bytes for this Part.
24/// type: string
25/// format: binary
26/// required:
27/// - data
28/// ```
29#[derive(Debug, Serialize, Deserialize)]
30pub struct AddUploadPartRequest {
31 /// The chunk of bytes for this Part.
32 #[serde(rename = "data")]
33 pub data: Vec<u8>,
34}