pub struct RealtimeServerEventInputAudioBufferSpeechStopped {
pub event_id: String,
pub type: String,
pub audio_end_ms: i64,
pub item_id: String,
}
Expand description
Returned in server_vad
mode when the server detects the end of speech in
the audio buffer.
Fields§
§event_id: String
The unique ID of the server event.
type: String
The event type, must be input_audio_buffer.speech_stopped
.
audio_end_ms: i64
Milliseconds since the session started when speech stopped.
item_id: String
The ID of the user message item that will be created.
Trait Implementations§
Source§impl Clone for RealtimeServerEventInputAudioBufferSpeechStopped
impl Clone for RealtimeServerEventInputAudioBufferSpeechStopped
Source§fn clone(&self) -> RealtimeServerEventInputAudioBufferSpeechStopped
fn clone(&self) -> RealtimeServerEventInputAudioBufferSpeechStopped
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 Default for RealtimeServerEventInputAudioBufferSpeechStopped
impl Default for RealtimeServerEventInputAudioBufferSpeechStopped
Source§fn default() -> RealtimeServerEventInputAudioBufferSpeechStopped
fn default() -> RealtimeServerEventInputAudioBufferSpeechStopped
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeServerEventInputAudioBufferSpeechStopped
impl RefUnwindSafe for RealtimeServerEventInputAudioBufferSpeechStopped
impl Send for RealtimeServerEventInputAudioBufferSpeechStopped
impl Sync for RealtimeServerEventInputAudioBufferSpeechStopped
impl Unpin for RealtimeServerEventInputAudioBufferSpeechStopped
impl UnwindSafe for RealtimeServerEventInputAudioBufferSpeechStopped
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