pub struct OpenAiChatResponse {
pub id: String,
pub object: String,
pub created: i32,
pub model: String,
pub service_tier: Option<String>,
pub system_fingerprint: Option<JsonValue>,
pub usage: Option<OpenAiChatUsage>,
pub choices: Vec<OpenAiChatChoice>,
}Fields§
§id: String§object: String§created: i32§model: String§service_tier: Option<String>§system_fingerprint: Option<JsonValue>§usage: Option<OpenAiChatUsage>§choices: Vec<OpenAiChatChoice>Trait Implementations§
Source§impl DeJson for OpenAiChatResponse
impl DeJson for OpenAiChatResponse
Auto Trait Implementations§
impl Freeze for OpenAiChatResponse
impl RefUnwindSafe for OpenAiChatResponse
impl Send for OpenAiChatResponse
impl Sync for OpenAiChatResponse
impl Unpin for OpenAiChatResponse
impl UnwindSafe for OpenAiChatResponse
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more