pub struct RealtimeServerEventInputAudioBufferSpeechStarted {
pub event_id: String,
pub audio_start_ms: u32,
pub item_id: String,
}Available on crate feature
realtime only.Fields§
§event_id: StringThe unique ID of the server event.
audio_start_ms: u32Milliseconds 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.
item_id: StringThe 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<'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