pub enum DynamicToolCallContent {
InputText {
text: String,
},
InputImage {
image_url: String,
},
}Expand description
A single content fragment inside a DynamicToolCallResult.
Variants§
Trait Implementations§
Source§impl Clone for DynamicToolCallContent
impl Clone for DynamicToolCallContent
Source§fn clone(&self) -> DynamicToolCallContent
fn clone(&self) -> DynamicToolCallContent
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 Debug for DynamicToolCallContent
impl Debug for DynamicToolCallContent
Source§impl<'de> Deserialize<'de> for DynamicToolCallContent
impl<'de> Deserialize<'de> for DynamicToolCallContent
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 DynamicToolCallContent
impl PartialEq for DynamicToolCallContent
Source§fn eq(&self, other: &DynamicToolCallContent) -> bool
fn eq(&self, other: &DynamicToolCallContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DynamicToolCallContent
impl Serialize for DynamicToolCallContent
impl StructuralPartialEq for DynamicToolCallContent
Auto Trait Implementations§
impl Freeze for DynamicToolCallContent
impl RefUnwindSafe for DynamicToolCallContent
impl Send for DynamicToolCallContent
impl Sync for DynamicToolCallContent
impl Unpin for DynamicToolCallContent
impl UnsafeUnpin for DynamicToolCallContent
impl UnwindSafe for DynamicToolCallContent
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