pub struct ResponseAudioTranscriptDeltaEvent {
pub delta: String,
pub sequence_number: u64,
pub response_id: String,
}Available on crate feature
response-types only.Expand description
Emitted when there is a partial transcript of audio.
Fields§
§delta: StringThe partial transcript of the audio response.
sequence_number: u64The sequence number of this event.
response_id: StringThe ID of the response associated with this event.
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 (const: unstable) · 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 EventType for ResponseAudioTranscriptDeltaEvent
impl EventType for ResponseAudioTranscriptDeltaEvent
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Available on crate feature
_api only.Returns the event type string (e.g., “batch.cancelled”)
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 UnsafeUnpin 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