pub struct RealtimeServerEventResponseContentPartAdded {
    pub event_id: String,
    pub type: String,
    pub response_id: String,
    pub item_id: String,
    pub output_index: i64,
    pub content_index: i64,
    pub part: RealtimeServerEventResponseContentPartAdded_Part,
}Expand description
Returned when a new content part is added to an assistant message item during response generation.
Fields§
§event_id: StringThe unique ID of the server event.
type: StringThe event type, must be response.content_part.added.
response_id: StringThe ID of the response.
item_id: StringThe ID of the item to which the content part was added.
output_index: i64The index of the output item in the response.
content_index: i64The index of the content part in the item’s content array.
part: RealtimeServerEventResponseContentPartAdded_PartTrait Implementations§
Source§impl Clone for RealtimeServerEventResponseContentPartAdded
 
impl Clone for RealtimeServerEventResponseContentPartAdded
Source§fn clone(&self) -> RealtimeServerEventResponseContentPartAdded
 
fn clone(&self) -> RealtimeServerEventResponseContentPartAdded
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 moreAuto Trait Implementations§
impl Freeze for RealtimeServerEventResponseContentPartAdded
impl RefUnwindSafe for RealtimeServerEventResponseContentPartAdded
impl Send for RealtimeServerEventResponseContentPartAdded
impl Sync for RealtimeServerEventResponseContentPartAdded
impl Unpin for RealtimeServerEventResponseContentPartAdded
impl UnwindSafe for RealtimeServerEventResponseContentPartAdded
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