pub struct ConversationItemRetrieveEvent {
pub item_id: String,
pub type_: String,
pub event_id: Option<String>,
}Expand description
Send this event when you want to retrieve the server’s representation of a specific item in the conversation history. This is useful, for example, to inspect user audio after noise cancellation and VAD.
Fields§
§item_id: StringThe ID of the item to retrieve.
type_: StringThe event type, must be conversation.item.retrieve.
event_id: Option<String>Optional client-generated ID used to identify this event.
Trait Implementations§
Source§impl Clone for ConversationItemRetrieveEvent
impl Clone for ConversationItemRetrieveEvent
Source§fn clone(&self) -> ConversationItemRetrieveEvent
fn clone(&self) -> ConversationItemRetrieveEvent
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 ConversationItemRetrieveEvent
impl<'de> Deserialize<'de> for ConversationItemRetrieveEvent
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 ConversationItemRetrieveEvent
impl RefUnwindSafe for ConversationItemRetrieveEvent
impl Send for ConversationItemRetrieveEvent
impl Sync for ConversationItemRetrieveEvent
impl Unpin for ConversationItemRetrieveEvent
impl UnsafeUnpin for ConversationItemRetrieveEvent
impl UnwindSafe for ConversationItemRetrieveEvent
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