#[repr(C)]pub struct BaseRTTranscribeSegment {
pub start_ms: c_int,
pub end_ms: c_int,
pub text: *const c_char,
pub avg_logprob: c_float,
pub no_speech_prob: c_float,
pub compression_ratio: c_float,
pub temperature: c_float,
}Expand description
One segment of the last transcription (verbose_json surface).
text is borrowed from the engine — valid until the next transcription
or model free.
Fields§
§start_ms: c_int§end_ms: c_int§text: *const c_char§avg_logprob: c_float§no_speech_prob: c_float§compression_ratio: c_float§temperature: c_floatTrait Implementations§
Source§impl Clone for BaseRTTranscribeSegment
impl Clone for BaseRTTranscribeSegment
impl Copy for BaseRTTranscribeSegment
Source§impl Debug for BaseRTTranscribeSegment
impl Debug for BaseRTTranscribeSegment
Auto Trait Implementations§
impl !Send for BaseRTTranscribeSegment
impl !Sync for BaseRTTranscribeSegment
impl Forget for BaseRTTranscribeSegment
impl Freeze for BaseRTTranscribeSegment
impl RefUnwindSafe for BaseRTTranscribeSegment
impl Unpin for BaseRTTranscribeSegment
impl UnsafeUnpin for BaseRTTranscribeSegment
impl UnwindSafe for BaseRTTranscribeSegment
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