pub struct TranscriptionSegment {
pub id: i64,
pub seek: i64,
pub start: f64,
pub end: f64,
pub text: String,
pub tokens: Vec<i64>,
pub temperature: f64,
pub avg_logprob: f64,
pub compression_ratio: f64,
pub no_speech_prob: f64,
}Fields§
§id: i64Unique identifier of the segment.
seek: i64Seek offset of the segment.
start: f64Start time of the segment in seconds.
end: f64End time of the segment in seconds.
text: StringText content of the segment.
tokens: Vec<i64>Array of token IDs for the text content.
temperature: f64Temperature parameter used for generating the segment.
avg_logprob: f64Average logprob of the segment.
compression_ratio: f64Compression ratio of the segment.
no_speech_prob: f64Probability of no speech in the segment.
Trait Implementations§
Source§impl Clone for TranscriptionSegment
impl Clone for TranscriptionSegment
Source§fn clone(&self) -> TranscriptionSegment
fn clone(&self) -> TranscriptionSegment
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 moreAuto 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