pub struct ImageGenToolCall {
pub id: String,
pub result: Option<String>,
pub status: ImageGenToolCallStatus,
}Fields§
§id: StringThe unique ID of the image generation call.
result: Option<String>The generated image encoded in base64.
status: ImageGenToolCallStatusThe status of the image generation call.
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