pub struct ResponseImageGenCallInProgressEvent {
pub output_index: u64,
pub item_id: String,
pub sequence_number: u64,
}
Expand description
Emitted when an image generation tool call is in progress.
Fields§
§output_index: u64
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: u64
The sequence number of the image generation item being processed.
Implementations§
Source§impl ResponseImageGenCallInProgressEvent
impl ResponseImageGenCallInProgressEvent
Sourcepub fn builder() -> ResponseImageGenCallInProgressEventBuilder<((), (), ())>
pub fn builder() -> ResponseImageGenCallInProgressEventBuilder<((), (), ())>
Create a builder for building ResponseImageGenCallInProgressEvent
.
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 ResponseImageGenCallInProgressEvent
.
Trait Implementations§
Source§impl Clone for ResponseImageGenCallInProgressEvent
impl Clone for ResponseImageGenCallInProgressEvent
Source§fn clone(&self) -> ResponseImageGenCallInProgressEvent
fn clone(&self) -> ResponseImageGenCallInProgressEvent
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 ResponseImageGenCallInProgressEvent
impl<'de> Deserialize<'de> for ResponseImageGenCallInProgressEvent
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 ResponseImageGenCallInProgressEvent
impl PartialEq for ResponseImageGenCallInProgressEvent
Source§fn eq(&self, other: &ResponseImageGenCallInProgressEvent) -> bool
fn eq(&self, other: &ResponseImageGenCallInProgressEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseImageGenCallInProgressEvent
Auto Trait Implementations§
impl Freeze for ResponseImageGenCallInProgressEvent
impl RefUnwindSafe for ResponseImageGenCallInProgressEvent
impl Send for ResponseImageGenCallInProgressEvent
impl Sync for ResponseImageGenCallInProgressEvent
impl Unpin for ResponseImageGenCallInProgressEvent
impl UnwindSafe for ResponseImageGenCallInProgressEvent
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