pub struct RealtimeServerEventResponseOutputItemAdded {
pub event_id: String,
pub response_id: String,
pub output_index: u32,
pub item: RealtimeConversationItem,
}Available on crate feature
realtime-types only.Fields§
§event_id: StringThe unique ID of the server event.
response_id: StringThe ID of the Response to which the item belongs.
output_index: u32The index of the output item in the Response.
item: RealtimeConversationItemA single item within a Realtime conversation.
Trait Implementations§
Source§impl Clone for RealtimeServerEventResponseOutputItemAdded
impl Clone for RealtimeServerEventResponseOutputItemAdded
Source§fn clone(&self) -> RealtimeServerEventResponseOutputItemAdded
fn clone(&self) -> RealtimeServerEventResponseOutputItemAdded
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 RealtimeServerEventResponseOutputItemAdded
impl<'de> Deserialize<'de> for RealtimeServerEventResponseOutputItemAdded
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
Source§impl EventType for RealtimeServerEventResponseOutputItemAdded
impl EventType for RealtimeServerEventResponseOutputItemAdded
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Available on crate feature
_api only.Returns the event type string (e.g., “batch.cancelled”)
Auto Trait Implementations§
impl Freeze for RealtimeServerEventResponseOutputItemAdded
impl RefUnwindSafe for RealtimeServerEventResponseOutputItemAdded
impl Send for RealtimeServerEventResponseOutputItemAdded
impl Sync for RealtimeServerEventResponseOutputItemAdded
impl Unpin for RealtimeServerEventResponseOutputItemAdded
impl UnwindSafe for RealtimeServerEventResponseOutputItemAdded
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