mirror of https://github.com/buster-so/buster.git
all snake_case
This commit is contained in:
parent
44042cd676
commit
cab1751172
|
@ -823,14 +823,12 @@ pub struct BusterChatResponseFileMetadata {
|
|||
#[derive(Debug, Serialize, Clone)]
|
||||
#[serde(tag = "type")]
|
||||
pub enum BusterChatMessage {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
Text {
|
||||
id: String,
|
||||
message: Option<String>,
|
||||
message_chunk: Option<String>,
|
||||
is_final_message: Option<bool>,
|
||||
},
|
||||
#[serde(rename_all = "snake_case")]
|
||||
File {
|
||||
id: String,
|
||||
file_type: String,
|
||||
|
|
Loading…
Reference in New Issue