pub struct ResponseImageGenCallGeneratingEvent {
pub output_index: i64,
pub item_id: String,
pub sequence_number: i64,
}
Expand description
Emitted when an image generation tool call is actively generating an image (intermediate state).
Fields§
§output_index: i64
The index of the output item in the response’s output array.
item_id: String
The unique identifier of the image generation item being processed.
sequence_number: i64
The sequence number of the image generation item being processed.
Implementations§
Source§impl ResponseImageGenCallGeneratingEvent
impl ResponseImageGenCallGeneratingEvent
Sourcepub fn builder() -> ResponseImageGenCallGeneratingEventBuilder<((), (), ())>
pub fn builder() -> ResponseImageGenCallGeneratingEventBuilder<((), (), ())>
Create a builder for building ResponseImageGenCallGeneratingEvent
.
On the builder, call .output_index(...)
, .item_id(...)
, .sequence_number(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseImageGenCallGeneratingEvent
.
Trait Implementations§
Source§impl Clone for ResponseImageGenCallGeneratingEvent
impl Clone for ResponseImageGenCallGeneratingEvent
Source§fn clone(&self) -> ResponseImageGenCallGeneratingEvent
fn clone(&self) -> ResponseImageGenCallGeneratingEvent
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 ResponseImageGenCallGeneratingEvent
impl<'de> Deserialize<'de> for ResponseImageGenCallGeneratingEvent
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 ResponseImageGenCallGeneratingEvent
impl PartialEq for ResponseImageGenCallGeneratingEvent
Source§fn eq(&self, other: &ResponseImageGenCallGeneratingEvent) -> bool
fn eq(&self, other: &ResponseImageGenCallGeneratingEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseImageGenCallGeneratingEvent
Auto Trait Implementations§
impl Freeze for ResponseImageGenCallGeneratingEvent
impl RefUnwindSafe for ResponseImageGenCallGeneratingEvent
impl Send for ResponseImageGenCallGeneratingEvent
impl Sync for ResponseImageGenCallGeneratingEvent
impl Unpin for ResponseImageGenCallGeneratingEvent
impl UnwindSafe for ResponseImageGenCallGeneratingEvent
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