pub struct TranscriptionLogprob {
pub token: Option<String>,
pub bytes: Option<Vec<f32>>,
pub logprob: Option<f32>,
}Expand description
The log probability of a token in the transcription.
Fields§
§token: Option<String>The token in the transcription.
bytes: Option<Vec<f32>>The bytes of the token.
logprob: Option<f32>The log probability of the token.
Trait Implementations§
Source§impl Clone for TranscriptionLogprob
impl Clone for TranscriptionLogprob
Source§impl Debug for TranscriptionLogprob
impl Debug for TranscriptionLogprob
Source§impl<'de> Deserialize<'de> for TranscriptionLogprob
impl<'de> Deserialize<'de> for TranscriptionLogprob
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 TranscriptionLogprob
impl PartialEq for TranscriptionLogprob
Source§impl Serialize for TranscriptionLogprob
impl Serialize for TranscriptionLogprob
impl StructuralPartialEq for TranscriptionLogprob
Auto Trait Implementations§
impl Freeze for TranscriptionLogprob
impl RefUnwindSafe for TranscriptionLogprob
impl Send for TranscriptionLogprob
impl Sync for TranscriptionLogprob
impl Unpin for TranscriptionLogprob
impl UnsafeUnpin for TranscriptionLogprob
impl UnwindSafe for TranscriptionLogprob
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