pub struct ResponseImageGenCallCompletedEvent {
pub output_index: i64,
pub sequence_number: i64,
pub item_id: String,
}
Expand description
Emitted when an image generation tool call has completed and the final image is available.
Fields§
§output_index: i64
The index of the output item in the response’s output array.
sequence_number: i64
The sequence number of this event.
item_id: String
The unique identifier of the image generation item being processed.
Implementations§
Source§impl ResponseImageGenCallCompletedEvent
impl ResponseImageGenCallCompletedEvent
Sourcepub fn builder() -> ResponseImageGenCallCompletedEventBuilder<((), (), ())>
pub fn builder() -> ResponseImageGenCallCompletedEventBuilder<((), (), ())>
Create a builder for building ResponseImageGenCallCompletedEvent
.
On the builder, call .output_index(...)
, .sequence_number(...)
, .item_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseImageGenCallCompletedEvent
.
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 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Source§impl PartialEq for ResponseImageGenCallCompletedEvent
impl PartialEq for ResponseImageGenCallCompletedEvent
Source§fn eq(&self, other: &ResponseImageGenCallCompletedEvent) -> bool
fn eq(&self, other: &ResponseImageGenCallCompletedEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseImageGenCallCompletedEvent
Auto Trait Implementations§
impl Freeze for ResponseImageGenCallCompletedEvent
impl RefUnwindSafe for ResponseImageGenCallCompletedEvent
impl Send for ResponseImageGenCallCompletedEvent
impl Sync for ResponseImageGenCallCompletedEvent
impl Unpin 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