pub struct SpeechAudioDeltaEvent {
pub audio: String,
}
Expand description
Emitted for each chunk of audio data generated during speech synthesis.
Fields§
§audio: String
A chunk of Base64-encoded audio data.
Implementations§
Trait Implementations§
Source§impl Clone for SpeechAudioDeltaEvent
impl Clone for SpeechAudioDeltaEvent
Source§fn clone(&self) -> SpeechAudioDeltaEvent
fn clone(&self) -> SpeechAudioDeltaEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpeechAudioDeltaEvent
impl Debug for SpeechAudioDeltaEvent
Source§impl<'de> Deserialize<'de> for SpeechAudioDeltaEvent
impl<'de> Deserialize<'de> for SpeechAudioDeltaEvent
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
Source§impl PartialEq for SpeechAudioDeltaEvent
impl PartialEq for SpeechAudioDeltaEvent
Source§impl Serialize for SpeechAudioDeltaEvent
impl Serialize for SpeechAudioDeltaEvent
impl StructuralPartialEq for SpeechAudioDeltaEvent
Auto Trait Implementations§
impl Freeze for SpeechAudioDeltaEvent
impl RefUnwindSafe for SpeechAudioDeltaEvent
impl Send for SpeechAudioDeltaEvent
impl Sync for SpeechAudioDeltaEvent
impl Unpin for SpeechAudioDeltaEvent
impl UnwindSafe for SpeechAudioDeltaEvent
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