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)]
|
#[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,
|
||||||
|
|
Loading…
Reference in New Issue