pub struct CreateChatCompletionResponse_Choices {
pub finish_reason: String,
pub index: i64,
pub message: ChatCompletionResponseMessage,
pub logprobs: Option<CreateChatCompletionResponse_Choices_Logprobs>,
}
Fields§
§finish_reason: String
The reason the model stopped generating tokens.
index: i64
The index of the choice in the list of choices.
message: ChatCompletionResponseMessage
§logprobs: Option<CreateChatCompletionResponse_Choices_Logprobs>
Trait Implementations§
Source§impl Clone for CreateChatCompletionResponse_Choices
impl Clone for CreateChatCompletionResponse_Choices
Source§fn clone(&self) -> CreateChatCompletionResponse_Choices
fn clone(&self) -> CreateChatCompletionResponse_Choices
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateChatCompletionResponse_Choices
impl RefUnwindSafe for CreateChatCompletionResponse_Choices
impl Send for CreateChatCompletionResponse_Choices
impl Sync for CreateChatCompletionResponse_Choices
impl Unpin for CreateChatCompletionResponse_Choices
impl UnwindSafe for CreateChatCompletionResponse_Choices
Blanket Implementations§
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