openai_struct/models/
click.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 Click : A click action.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct Click {
18    /// Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`.
19    #[serde(rename = "button")]
20    pub button: String,
21    /// Specifies the event type. For a click action, this property is  always set to `click`.
22    #[serde(rename = "type")]
23    pub _type: String,
24    /// The x-coordinate where the click occurred.
25    #[serde(rename = "x")]
26    pub x: i32,
27    /// The y-coordinate where the click occurred.
28    #[serde(rename = "y")]
29    pub y: i32,
30}