openai/model/
delete_file_response.rs

1
2use serde::{Serialize, Deserialize};
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct DeleteFileResponse {
5    pub deleted: bool,
6    pub id: String,
7    pub object: String,
8}
9impl std::fmt::Display for DeleteFileResponse {
10    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
11        write!(f, "{}", serde_json::to_string(self).unwrap())
12    }
13}