pub struct InputAudioBufferSpeechStartedEvent {
pub event_id: String,
pub audio_start_ms: u32,
pub item_id: String,
}
Available on crate feature
realtime
only.Fields§
§event_id: String
The unique ID of the server event.
audio_start_ms: u32
Milliseconds since the session started when speech was detected.
item_id: String
The ID of the user message item that will be created when speech stops.
Trait Implementations§
Source§impl Clone for InputAudioBufferSpeechStartedEvent
impl Clone for InputAudioBufferSpeechStartedEvent
Source§fn clone(&self) -> InputAudioBufferSpeechStartedEvent
fn clone(&self) -> InputAudioBufferSpeechStartedEvent
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<'de> Deserialize<'de> for InputAudioBufferSpeechStartedEvent
impl<'de> Deserialize<'de> for InputAudioBufferSpeechStartedEvent
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 InputAudioBufferSpeechStartedEvent
impl RefUnwindSafe for InputAudioBufferSpeechStartedEvent
impl Send for InputAudioBufferSpeechStartedEvent
impl Sync for InputAudioBufferSpeechStartedEvent
impl Unpin for InputAudioBufferSpeechStartedEvent
impl UnwindSafe for InputAudioBufferSpeechStartedEvent
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