pub struct RealtimeServerEventInputAudioBufferSpeechStarted {
pub event_id: String,
pub type: String,
pub audio_start_ms: i64,
pub item_id: String,
}
Expand description
Sent by the server when in server_vad
mode to indicate that speech has
been detected 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_started
.
audio_start_ms: i64
Milliseconds from the start of all audio written to the buffer during the session when speech was first detected.
item_id: String
The ID of the user message item that will be created when speech stops.
Trait Implementations§
Source§impl Clone for RealtimeServerEventInputAudioBufferSpeechStarted
impl Clone for RealtimeServerEventInputAudioBufferSpeechStarted
Source§fn clone(&self) -> RealtimeServerEventInputAudioBufferSpeechStarted
fn clone(&self) -> RealtimeServerEventInputAudioBufferSpeechStarted
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 Default for RealtimeServerEventInputAudioBufferSpeechStarted
impl Default for RealtimeServerEventInputAudioBufferSpeechStarted
Source§fn default() -> RealtimeServerEventInputAudioBufferSpeechStarted
fn default() -> RealtimeServerEventInputAudioBufferSpeechStarted
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeServerEventInputAudioBufferSpeechStarted
impl RefUnwindSafe for RealtimeServerEventInputAudioBufferSpeechStarted
impl Send for RealtimeServerEventInputAudioBufferSpeechStarted
impl Sync for RealtimeServerEventInputAudioBufferSpeechStarted
impl Unpin for RealtimeServerEventInputAudioBufferSpeechStarted
impl UnwindSafe for RealtimeServerEventInputAudioBufferSpeechStarted
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