pub struct CodeInterpreterToolResultContent {
pub call_id: Option<String>,
pub outputs: Option<Vec<Content>>,
}Expand description
The result of a provider-hosted code-interpreter tool call. outputs
carries the produced logs / files as nested content.
Fields§
§call_id: Option<String>§outputs: Option<Vec<Content>>Trait Implementations§
Source§impl Clone for CodeInterpreterToolResultContent
impl Clone for CodeInterpreterToolResultContent
Source§fn clone(&self) -> CodeInterpreterToolResultContent
fn clone(&self) -> CodeInterpreterToolResultContent
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 CodeInterpreterToolResultContent
impl Default for CodeInterpreterToolResultContent
Source§fn default() -> CodeInterpreterToolResultContent
fn default() -> CodeInterpreterToolResultContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeInterpreterToolResultContent
impl<'de> Deserialize<'de> for CodeInterpreterToolResultContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeInterpreterToolResultContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeInterpreterToolResultContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CodeInterpreterToolResultContent
impl Serialize for CodeInterpreterToolResultContent
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 CodeInterpreterToolResultContent
Auto Trait Implementations§
impl Freeze for CodeInterpreterToolResultContent
impl RefUnwindSafe for CodeInterpreterToolResultContent
impl Send for CodeInterpreterToolResultContent
impl Sync for CodeInterpreterToolResultContent
impl Unpin for CodeInterpreterToolResultContent
impl UnsafeUnpin for CodeInterpreterToolResultContent
impl UnwindSafe for CodeInterpreterToolResultContent
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