pub struct TextToSpeechResponse {
pub audio_base64: String,
pub format: String,
pub size_bytes: i64,
pub model: String,
pub cost_ticks: i64,
pub request_id: String,
}Expand description
Response from text-to-speech.
Fields§
§audio_base64: StringBase64-encoded audio data.
format: StringAudio format (e.g. “mp3”).
size_bytes: i64Audio file size.
model: StringModel that generated the audio.
cost_ticks: i64Total cost in ticks.
request_id: StringUnique request identifier.
Trait Implementations§
Source§impl Clone for TextToSpeechResponse
impl Clone for TextToSpeechResponse
Source§fn clone(&self) -> TextToSpeechResponse
fn clone(&self) -> TextToSpeechResponse
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 Debug for TextToSpeechResponse
impl Debug for TextToSpeechResponse
Source§impl<'de> Deserialize<'de> for TextToSpeechResponse
impl<'de> Deserialize<'de> for TextToSpeechResponse
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 TextToSpeechResponse
impl RefUnwindSafe for TextToSpeechResponse
impl Send for TextToSpeechResponse
impl Sync for TextToSpeechResponse
impl Unpin for TextToSpeechResponse
impl UnsafeUnpin for TextToSpeechResponse
impl UnwindSafe for TextToSpeechResponse
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