pub struct RealtimeServerEventInputAudioBufferSpeechStarted {
pub audio_start_ms: i32,
pub event_id: String,
pub item_id: String,
pub _type: String,
}Fields§
§audio_start_ms: i32Milliseconds from the start of all audio written to the buffer during the session when speech was first detected. This will correspond to the beginning of audio sent to the model, and thus includes the prefix_padding_ms configured in the Session.
event_id: StringThe unique ID of the server event.
item_id: StringThe ID of the user message item that will be created when speech stops.
_type: StringThe event type, must be input_audio_buffer.speech_started.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeServerEventInputAudioBufferSpeechStarted
impl<'de> Deserialize<'de> for RealtimeServerEventInputAudioBufferSpeechStarted
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
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