pub struct AutomaticSpeechRecognitionResult {
pub text: String,
pub vtt: Option<String>,
pub word_count: Option<usize>,
pub words: Vec<WordTiming>,
}Expand description
Represents automatic speech recognition results.
Fields§
§text: StringThe transcription of the audio.
vtt: Option<String>The transcription in VTT format.
word_count: Option<usize>The word count of the transcription.
words: Vec<WordTiming>Array of words with timing information.
Trait Implementations§
Source§impl Clone for AutomaticSpeechRecognitionResult
impl Clone for AutomaticSpeechRecognitionResult
Source§fn clone(&self) -> AutomaticSpeechRecognitionResult
fn clone(&self) -> AutomaticSpeechRecognitionResult
Returns a duplicate 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 moreSource§impl<'de> Deserialize<'de> for AutomaticSpeechRecognitionResult
impl<'de> Deserialize<'de> for AutomaticSpeechRecognitionResult
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 AutomaticSpeechRecognitionResult
impl RefUnwindSafe for AutomaticSpeechRecognitionResult
impl Send for AutomaticSpeechRecognitionResult
impl Sync for AutomaticSpeechRecognitionResult
impl Unpin for AutomaticSpeechRecognitionResult
impl UnwindSafe for AutomaticSpeechRecognitionResult
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