pub struct LogprobsReasoningContent {
pub token: String,
pub logprob: f64,
pub bytes: Option<Vec<u8>>,
pub top_logprobs: Vec<TopLogprobs>,
}Expand description
Logprobs for reasoning tokens.
Fields§
§token: String§logprob: f64§bytes: Option<Vec<u8>>§top_logprobs: Vec<TopLogprobs>Trait Implementations§
Source§impl Clone for LogprobsReasoningContent
impl Clone for LogprobsReasoningContent
Source§fn clone(&self) -> LogprobsReasoningContent
fn clone(&self) -> LogprobsReasoningContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LogprobsReasoningContent
impl Debug for LogprobsReasoningContent
Source§impl<'de> Deserialize<'de> for LogprobsReasoningContent
impl<'de> Deserialize<'de> for LogprobsReasoningContent
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 LogprobsReasoningContent
impl PartialEq for LogprobsReasoningContent
Source§fn eq(&self, other: &LogprobsReasoningContent) -> bool
fn eq(&self, other: &LogprobsReasoningContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LogprobsReasoningContent
impl Serialize for LogprobsReasoningContent
impl StructuralPartialEq for LogprobsReasoningContent
Auto Trait Implementations§
impl Freeze for LogprobsReasoningContent
impl RefUnwindSafe for LogprobsReasoningContent
impl Send for LogprobsReasoningContent
impl Sync for LogprobsReasoningContent
impl Unpin for LogprobsReasoningContent
impl UnsafeUnpin for LogprobsReasoningContent
impl UnwindSafe for LogprobsReasoningContent
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