pub trait SpeechToTextResponse: Send + Sync { // Required methods fn text(&self) -> String; fn language(&self) -> Option<String>; fn metadata(&self) -> Metadata; }
Trait for speech-to-text response types.
Get the transcribed text
Get the detected language if available
Get response metadata