pub struct ResponseImageGenCallCompletedEvent {
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: String,
}Expand description
Emitted when an image generation tool call has completed and the final image is available.
Fields§
§item_id: StringThe unique identifier of the image generation item being processed.
output_index: i64The index of the output item in the response’s output array.
sequence_number: i64The sequence number of this event.
type_: StringThe type of the event. Always ‘response.image_generation_call.completed’.
Trait Implementations§
Source§impl Clone for ResponseImageGenCallCompletedEvent
impl Clone for ResponseImageGenCallCompletedEvent
Source§fn clone(&self) -> ResponseImageGenCallCompletedEvent
fn clone(&self) -> ResponseImageGenCallCompletedEvent
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 ResponseImageGenCallCompletedEvent
impl<'de> Deserialize<'de> for ResponseImageGenCallCompletedEvent
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 ResponseImageGenCallCompletedEvent
impl RefUnwindSafe for ResponseImageGenCallCompletedEvent
impl Send for ResponseImageGenCallCompletedEvent
impl Sync for ResponseImageGenCallCompletedEvent
impl Unpin for ResponseImageGenCallCompletedEvent
impl UnsafeUnpin for ResponseImageGenCallCompletedEvent
impl UnwindSafe for ResponseImageGenCallCompletedEvent
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