pub struct LogPropsContent {
pub token_info: LogProbsContentInfo,
pub top_logprobs: Vec<LogProbsContentInfo>,
}Fields§
§token_info: LogProbsContentInfoToken information
top_logprobs: Vec<LogProbsContentInfo>List of the most likely tokens and their log probability, at this token position.
Trait Implementations§
Source§impl Clone for LogPropsContent
impl Clone for LogPropsContent
Source§fn clone(&self) -> LogPropsContent
fn clone(&self) -> LogPropsContent
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 Debug for LogPropsContent
impl Debug for LogPropsContent
Source§impl<'de> Deserialize<'de> for LogPropsContent
impl<'de> Deserialize<'de> for LogPropsContent
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 LogPropsContent
impl PartialEq for LogPropsContent
Source§impl Serialize for LogPropsContent
impl Serialize for LogPropsContent
impl StructuralPartialEq for LogPropsContent
Auto Trait Implementations§
impl Freeze for LogPropsContent
impl RefUnwindSafe for LogPropsContent
impl Send for LogPropsContent
impl Sync for LogPropsContent
impl Unpin for LogPropsContent
impl UnwindSafe for LogPropsContent
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