pub struct CreateCompletionResponse_Choices {
pub finish_reason: String,
pub index: i64,
pub logprobs: Option<CreateCompletionResponse_Choices_Logprobs>,
pub text: String,
}
Fields§
§finish_reason: String
The reason the model stopped generating tokens.
index: i64
§logprobs: Option<CreateCompletionResponse_Choices_Logprobs>
§text: String
Trait Implementations§
Source§impl Clone for CreateCompletionResponse_Choices
impl Clone for CreateCompletionResponse_Choices
Source§fn clone(&self) -> CreateCompletionResponse_Choices
fn clone(&self) -> CreateCompletionResponse_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 moreSource§impl Default for CreateCompletionResponse_Choices
impl Default for CreateCompletionResponse_Choices
Source§fn default() -> CreateCompletionResponse_Choices
fn default() -> CreateCompletionResponse_Choices
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateCompletionResponse_Choices
impl RefUnwindSafe for CreateCompletionResponse_Choices
impl Send for CreateCompletionResponse_Choices
impl Sync for CreateCompletionResponse_Choices
impl Unpin for CreateCompletionResponse_Choices
impl UnwindSafe for CreateCompletionResponse_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