pub struct CodeInterpreterToolCallContent {
pub call_id: Option<String>,
pub inputs: Option<Vec<Content>>,
}Expand description
A provider-hosted code-interpreter tool call (the model’s request to run
code). inputs carries the submitted code / files as nested content.
Fields§
§call_id: Option<String>§inputs: Option<Vec<Content>>Trait Implementations§
Source§impl Clone for CodeInterpreterToolCallContent
impl Clone for CodeInterpreterToolCallContent
Source§fn clone(&self) -> CodeInterpreterToolCallContent
fn clone(&self) -> CodeInterpreterToolCallContent
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 CodeInterpreterToolCallContent
impl Default for CodeInterpreterToolCallContent
Source§fn default() -> CodeInterpreterToolCallContent
fn default() -> CodeInterpreterToolCallContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeInterpreterToolCallContent
impl<'de> Deserialize<'de> for CodeInterpreterToolCallContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeInterpreterToolCallContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeInterpreterToolCallContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CodeInterpreterToolCallContent
impl Serialize for CodeInterpreterToolCallContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CodeInterpreterToolCallContent
Auto Trait Implementations§
impl Freeze for CodeInterpreterToolCallContent
impl RefUnwindSafe for CodeInterpreterToolCallContent
impl Send for CodeInterpreterToolCallContent
impl Sync for CodeInterpreterToolCallContent
impl Unpin for CodeInterpreterToolCallContent
impl UnsafeUnpin for CodeInterpreterToolCallContent
impl UnwindSafe for CodeInterpreterToolCallContent
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