pub struct ResponseAudioTranscriptDeltaEvent {
pub delta: String,
pub sequence_number: u64,
}
Expand description
Emitted when there is a partial transcript of audio.
Fields§
§delta: String
The partial transcript of the audio response.
sequence_number: u64
The sequence number of this event.
Implementations§
Source§impl ResponseAudioTranscriptDeltaEvent
impl ResponseAudioTranscriptDeltaEvent
Sourcepub fn builder() -> ResponseAudioTranscriptDeltaEventBuilder<((), ())>
pub fn builder() -> ResponseAudioTranscriptDeltaEventBuilder<((), ())>
Create a builder for building ResponseAudioTranscriptDeltaEvent
.
On the builder, call .delta(...)
, .sequence_number(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseAudioTranscriptDeltaEvent
.
Trait Implementations§
Source§impl Clone for ResponseAudioTranscriptDeltaEvent
impl Clone for ResponseAudioTranscriptDeltaEvent
Source§fn clone(&self) -> ResponseAudioTranscriptDeltaEvent
fn clone(&self) -> ResponseAudioTranscriptDeltaEvent
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<'de> Deserialize<'de> for ResponseAudioTranscriptDeltaEvent
impl<'de> Deserialize<'de> for ResponseAudioTranscriptDeltaEvent
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 ResponseAudioTranscriptDeltaEvent
impl PartialEq for ResponseAudioTranscriptDeltaEvent
Source§fn eq(&self, other: &ResponseAudioTranscriptDeltaEvent) -> bool
fn eq(&self, other: &ResponseAudioTranscriptDeltaEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseAudioTranscriptDeltaEvent
Auto Trait Implementations§
impl Freeze for ResponseAudioTranscriptDeltaEvent
impl RefUnwindSafe for ResponseAudioTranscriptDeltaEvent
impl Send for ResponseAudioTranscriptDeltaEvent
impl Sync for ResponseAudioTranscriptDeltaEvent
impl Unpin for ResponseAudioTranscriptDeltaEvent
impl UnwindSafe for ResponseAudioTranscriptDeltaEvent
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