pub struct LogProbProperties {
pub bytes: Vec<i32>,
pub logprob: f32,
pub token: String,
}
Fields§
§bytes: Vec<i32>
The bytes that were used to generate the log probability.
logprob: f32
The log probability of the token.
token: String
The token that was used to generate the log probability.
Trait Implementations§
Source§impl Debug for LogProbProperties
impl Debug for LogProbProperties
Source§impl<'de> Deserialize<'de> for LogProbProperties
impl<'de> Deserialize<'de> for LogProbProperties
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
Auto Trait Implementations§
impl Freeze for LogProbProperties
impl RefUnwindSafe for LogProbProperties
impl Send for LogProbProperties
impl Sync for LogProbProperties
impl Unpin for LogProbProperties
impl UnwindSafe for LogProbProperties
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