pub struct InputAudioBufferCommittedEvent {
pub event_id: String,
pub item_id: String,
pub type_: String,
pub previous_item_id: Option<String>,
}Expand description
Returned when an input audio buffer is committed, either by the client or
Fields§
§event_id: StringThe unique ID of the server event.
item_id: StringThe ID of the user message item that will be created.
type_: StringThe event type, must be input_audio_buffer.committed.
previous_item_id: Option<String>The ID of the preceding item after which the new item will be inserted. Can be
Trait Implementations§
Source§impl Clone for InputAudioBufferCommittedEvent
impl Clone for InputAudioBufferCommittedEvent
Source§fn clone(&self) -> InputAudioBufferCommittedEvent
fn clone(&self) -> InputAudioBufferCommittedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputAudioBufferCommittedEvent
impl<'de> Deserialize<'de> for InputAudioBufferCommittedEvent
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 InputAudioBufferCommittedEvent
impl RefUnwindSafe for InputAudioBufferCommittedEvent
impl Send for InputAudioBufferCommittedEvent
impl Sync for InputAudioBufferCommittedEvent
impl Unpin for InputAudioBufferCommittedEvent
impl UnsafeUnpin for InputAudioBufferCommittedEvent
impl UnwindSafe for InputAudioBufferCommittedEvent
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