Struct async_openai::types::ChatChoiceLogprobs
source · pub struct ChatChoiceLogprobs {
pub content: Option<Vec<ChatCompletionTokenLogprob>>,
}
Fields§
§content: Option<Vec<ChatCompletionTokenLogprob>>
A list of message content tokens with log probability information.
Trait Implementations§
source§impl Clone for ChatChoiceLogprobs
impl Clone for ChatChoiceLogprobs
source§fn clone(&self) -> ChatChoiceLogprobs
fn clone(&self) -> ChatChoiceLogprobs
Returns a copy 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 Debug for ChatChoiceLogprobs
impl Debug for ChatChoiceLogprobs
source§impl<'de> Deserialize<'de> for ChatChoiceLogprobs
impl<'de> Deserialize<'de> for ChatChoiceLogprobs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ChatChoiceLogprobs
impl PartialEq for ChatChoiceLogprobs
source§fn eq(&self, other: &ChatChoiceLogprobs) -> bool
fn eq(&self, other: &ChatChoiceLogprobs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChatChoiceLogprobs
impl Serialize for ChatChoiceLogprobs
impl StructuralPartialEq for ChatChoiceLogprobs
Auto Trait Implementations§
impl Freeze for ChatChoiceLogprobs
impl RefUnwindSafe for ChatChoiceLogprobs
impl Send for ChatChoiceLogprobs
impl Sync for ChatChoiceLogprobs
impl Unpin for ChatChoiceLogprobs
impl UnwindSafe for ChatChoiceLogprobs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)