pub struct RealtimeServerEventInputAudioBufferCommitted {
pub event_id: String,
pub type: String,
pub previous_item_id: String,
pub item_id: String,
}
Expand description
Returned when an input audio buffer is committed, either by the client or automatically in server VAD mode.
Fields§
§event_id: String
The unique ID of the server event.
type: String
The event type, must be input_audio_buffer.committed
.
previous_item_id: String
The ID of the preceding item after which the new item will be inserted.
item_id: String
The ID of the user message item that will be created.
Trait Implementations§
Source§impl Clone for RealtimeServerEventInputAudioBufferCommitted
impl Clone for RealtimeServerEventInputAudioBufferCommitted
Source§fn clone(&self) -> RealtimeServerEventInputAudioBufferCommitted
fn clone(&self) -> RealtimeServerEventInputAudioBufferCommitted
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 RealtimeServerEventInputAudioBufferCommitted
impl Default for RealtimeServerEventInputAudioBufferCommitted
Source§fn default() -> RealtimeServerEventInputAudioBufferCommitted
fn default() -> RealtimeServerEventInputAudioBufferCommitted
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeServerEventInputAudioBufferCommitted
impl RefUnwindSafe for RealtimeServerEventInputAudioBufferCommitted
impl Send for RealtimeServerEventInputAudioBufferCommitted
impl Sync for RealtimeServerEventInputAudioBufferCommitted
impl Unpin for RealtimeServerEventInputAudioBufferCommitted
impl UnwindSafe for RealtimeServerEventInputAudioBufferCommitted
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