fix: make public

This commit is contained in:
0xMRTT 2023-06-17 15:38:02 +02:00
parent 81fb1c96d7
commit 06f1a761a1
Signed by: 0xMRTT
GPG Key ID: 910B287304120902
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ use ratmom::{prelude::*, Request};
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
struct Delta {
pub struct Delta {
pub role: String,
pub id: String,
pub parent_message_id: String,
@ -13,7 +13,7 @@ struct Delta {
}
#[derive(Serialize, Deserialize, Debug)]
struct Detail {
pub struct Detail {
pub id: String,
pub object: String,
pub created: i64,
@ -22,14 +22,14 @@ struct Detail {
}
#[derive(Serialize, Deserialize, Debug)]
struct Choice {
pub struct Choice {
pub delta: DeltaChoice,
pub index: i64,
pub finish_reason: String,
}
#[derive(Serialize, Deserialize, Debug)]
struct DeltaChoice {
pub struct DeltaChoice {
pub content: String,
}