pub struct LogProbProperties {
pub token: String,
pub logprob: f64,
pub bytes: Vec<i64>,
}
Expand description
A log probability object.
Fields§
§token: String
The token that was used to generate the log probability.
logprob: f64
The log probability of the token.
bytes: Vec<i64>
The bytes that were used to generate the log probability.
Trait Implementations§
Source§impl Clone for LogProbProperties
impl Clone for LogProbProperties
Source§fn clone(&self) -> LogProbProperties
fn clone(&self) -> LogProbProperties
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 LogProbProperties
impl Debug for LogProbProperties
Source§impl Default for LogProbProperties
impl Default for LogProbProperties
Source§fn default() -> LogProbProperties
fn default() -> LogProbProperties
Returns the “default value” for a type. 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