pub struct TranscriptionSegment {
pub id: String,
pub seek: i32,
pub start: f32,
pub end: f32,
pub text: String,
pub tokens: Vec<i64>,
pub temperature: f32,
pub avg_logprob: f64,
pub compression_ratio: f64,
pub no_speech_prob: f64,
pub transient: bool,
}
Fields§
§id: String
§seek: i32
§start: f32
§end: f32
§text: String
§tokens: Vec<i64>
§temperature: f32
§avg_logprob: f64
§compression_ratio: f64
§no_speech_prob: f64
§transient: bool
Trait Implementations§
Source§impl Debug for TranscriptionSegment
impl Debug for TranscriptionSegment
Source§impl<'de> Deserialize<'de> for TranscriptionSegment
impl<'de> Deserialize<'de> for TranscriptionSegment
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 TranscriptionSegment
impl RefUnwindSafe for TranscriptionSegment
impl Send for TranscriptionSegment
impl Sync for TranscriptionSegment
impl Unpin for TranscriptionSegment
impl UnwindSafe for TranscriptionSegment
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