pub struct LogProb {
pub bytes: Vec<u8>,
pub logprob: f64,
pub token: String,
}
Available on crate feature
realtime
only.Expand description
Log probability information for a transcribed token.
Fields§
§bytes: Vec<u8>
Raw UTF-8 bytes for the token.
logprob: f64
The log probability of the token.
token: String
The token string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogProb
impl<'de> Deserialize<'de> for LogProb
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 LogProb
impl RefUnwindSafe for LogProb
impl Send for LogProb
impl Sync for LogProb
impl Unpin for LogProb
impl UnwindSafe for LogProb
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