pub trait TextToSpeechResponse: Send + Sync {
// Required methods
fn audio_data(&self) -> Vec<u8> ⓘ;
fn format(&self) -> String;
fn metadata(&self) -> Metadata;
}
Expand description
Trait for text-to-speech response types.
Required Methods§
Sourcefn audio_data(&self) -> Vec<u8> ⓘ
fn audio_data(&self) -> Vec<u8> ⓘ
Get the audio data