pub struct ResponseAudioDeltaEvent {
pub sequence_number: u64,
pub delta: String,
}
Expand description
Emitted when there is a partial audio response.
Fields§
§sequence_number: u64
A sequence number for this chunk of the stream response.
delta: String
A chunk of Base64 encoded response audio bytes.
Implementations§
Trait Implementations§
Source§impl Clone for ResponseAudioDeltaEvent
impl Clone for ResponseAudioDeltaEvent
Source§fn clone(&self) -> ResponseAudioDeltaEvent
fn clone(&self) -> ResponseAudioDeltaEvent
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 ResponseAudioDeltaEvent
impl Debug for ResponseAudioDeltaEvent
Source§impl<'de> Deserialize<'de> for ResponseAudioDeltaEvent
impl<'de> Deserialize<'de> for ResponseAudioDeltaEvent
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 ResponseAudioDeltaEvent
impl PartialEq for ResponseAudioDeltaEvent
Source§impl Serialize for ResponseAudioDeltaEvent
impl Serialize for ResponseAudioDeltaEvent
impl StructuralPartialEq for ResponseAudioDeltaEvent
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