pub struct ToolExecutionCompleteContentImage {
pub data: String,
pub mime_type: String,
pub type: ToolExecutionCompleteContentImageType,
}Expand description
Image content block with base64-encoded data
Fields§
§data: StringBase64-encoded image data
mime_type: StringMIME type of the image (e.g., image/png, image/jpeg)
type: ToolExecutionCompleteContentImageTypeContent block type discriminator
Trait Implementations§
Source§impl Clone for ToolExecutionCompleteContentImage
impl Clone for ToolExecutionCompleteContentImage
Source§fn clone(&self) -> ToolExecutionCompleteContentImage
fn clone(&self) -> ToolExecutionCompleteContentImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ToolExecutionCompleteContentImage
impl Default for ToolExecutionCompleteContentImage
Source§fn default() -> ToolExecutionCompleteContentImage
fn default() -> ToolExecutionCompleteContentImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolExecutionCompleteContentImage
impl<'de> Deserialize<'de> for ToolExecutionCompleteContentImage
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
Auto Trait Implementations§
impl Freeze for ToolExecutionCompleteContentImage
impl RefUnwindSafe for ToolExecutionCompleteContentImage
impl Send for ToolExecutionCompleteContentImage
impl Sync for ToolExecutionCompleteContentImage
impl Unpin for ToolExecutionCompleteContentImage
impl UnsafeUnpin for ToolExecutionCompleteContentImage
impl UnwindSafe for ToolExecutionCompleteContentImage
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