openai_struct/models/
computer_tool_call_safety_check.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/// pub ComputerToolCallSafetyCheck : A pending safety check for the computer call.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16/// # on openapi.yaml
17///
18/// ```yaml
19/// ComputerToolCallSafetyCheck:
20///   type: object
21///   description: |
22///     A pending safety check for the computer call.
23///   properties:
24///     id:
25///       type: string
26///       description: The ID of the pending safety check.
27///     code:
28///       type: string
29///       description: The type of the pending safety check.
30///     message:
31///       type: string
32///       description: Details about the pending safety check.
33///   required:
34///     - id
35///     - code
36///     - message
37/// ```
38#[derive(Debug, Serialize, Deserialize)]
39pub struct ComputerToolCallSafetyCheck {
40    /// The type of the pending safety check.
41    #[serde(rename = "code")]
42    pub code: String,
43    /// The ID of the pending safety check.
44    #[serde(rename = "id")]
45    pub id: String,
46    /// Details about the pending safety check.
47    #[serde(rename = "message")]
48    pub message: String,
49}