all snake_case

This commit is contained in:
dal 2025-04-08 15:52:44 -06:00
parent 44042cd676
commit cab1751172
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 0 additions and 2 deletions

View File

@ -823,14 +823,12 @@ pub struct BusterChatResponseFileMetadata {
#[derive(Debug, Serialize, Clone)] #[derive(Debug, Serialize, Clone)]
#[serde(tag = "type")] #[serde(tag = "type")]
pub enum BusterChatMessage { pub enum BusterChatMessage {
#[serde(rename_all = "camelCase")]
Text { Text {
id: String, id: String,
message: Option<String>, message: Option<String>,
message_chunk: Option<String>, message_chunk: Option<String>,
is_final_message: Option<bool>, is_final_message: Option<bool>,
}, },
#[serde(rename_all = "snake_case")]
File { File {
id: String, id: String,
file_type: String, file_type: String,