pub struct ImageGenToolCall {
pub id: String,
pub status: ImageGenToolCallStatus,
pub result: Option<String>,
}
Expand description
An image generation request made by the model.
Fields§
§id: String
The unique ID of the image generation call.
status: ImageGenToolCallStatus
The status of the image generation call.
result: Option<String>
The generated image encoded in base64.
Implementations§
Trait Implementations§
Source§impl Clone for ImageGenToolCall
impl Clone for ImageGenToolCall
Source§fn clone(&self) -> ImageGenToolCall
fn clone(&self) -> ImageGenToolCall
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 Debug for ImageGenToolCall
impl Debug for ImageGenToolCall
Source§impl<'de> Deserialize<'de> for ImageGenToolCall
impl<'de> Deserialize<'de> for ImageGenToolCall
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 ImageGenToolCall
impl PartialEq for ImageGenToolCall
Source§impl Serialize for ImageGenToolCall
impl Serialize for ImageGenToolCall
impl StructuralPartialEq for ImageGenToolCall
Auto Trait Implementations§
impl Freeze for ImageGenToolCall
impl RefUnwindSafe for ImageGenToolCall
impl Send for ImageGenToolCall
impl Sync for ImageGenToolCall
impl Unpin for ImageGenToolCall
impl UnwindSafe for ImageGenToolCall
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