pub struct OpenAiChatChoice {
pub message: Option<OpenAiChatMessage>,
pub delta: Option<OpenAiChatMessage>,
pub finish_reason: Option<String>,
pub logprobs: Option<JsonValue>,
pub index: i32,
}Fields§
§message: Option<OpenAiChatMessage>§delta: Option<OpenAiChatMessage>§finish_reason: Option<String>§logprobs: Option<JsonValue>§index: i32Trait Implementations§
Source§impl DeJson for OpenAiChatChoice
impl DeJson for OpenAiChatChoice
Auto Trait Implementations§
impl Freeze for OpenAiChatChoice
impl RefUnwindSafe for OpenAiChatChoice
impl Send for OpenAiChatChoice
impl Sync for OpenAiChatChoice
impl Unpin for OpenAiChatChoice
impl UnwindSafe for OpenAiChatChoice
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