pub struct ResponseAudioDeltaEvent {
    pub type: String,
    pub delta: String,
}Expand description
Emitted when there is a partial audio response.
Fields§
§type: StringThe type of the event.
delta: StringA chunk of Base64 encoded response audio bytes.
Trait Implementations§
Source§impl Clone for ResponseAudioDeltaEvent
 
impl Clone for ResponseAudioDeltaEvent
Source§fn clone(&self) -> ResponseAudioDeltaEvent
 
fn clone(&self) -> ResponseAudioDeltaEvent
Returns a copy 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 ResponseAudioDeltaEvent
 
impl Debug for ResponseAudioDeltaEvent
Source§impl Default for ResponseAudioDeltaEvent
 
impl Default for ResponseAudioDeltaEvent
Source§fn default() -> ResponseAudioDeltaEvent
 
fn default() -> ResponseAudioDeltaEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResponseAudioDeltaEvent
impl RefUnwindSafe for ResponseAudioDeltaEvent
impl Send for ResponseAudioDeltaEvent
impl Sync for ResponseAudioDeltaEvent
impl Unpin for ResponseAudioDeltaEvent
impl UnwindSafe for ResponseAudioDeltaEvent
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