ds_api/raw/request/
response_format.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize)]
4pub struct ResponseFormat {
5 pub r#type: ResponseFormatType,
6}
7
8#[derive(Debug, Serialize, Deserialize)]
9#[serde(rename_all = "snake_case")]
10pub enum ResponseFormatType {
11 Text,
12 JsonObject,
13}