pub struct CodeInterpreterCall {
pub id: Option<String>,
pub code: Option<String>,
pub outputs: Vec<Value>,
pub container_id: Option<String>,
pub status: Option<ItemStatus>,
}Expand description
Qwen: a code interpreter tool call.
Fields§
§id: Option<String>The unique ID of the code interpreter call.
code: Option<String>The code generated and executed by the model.
outputs: Vec<Value>The outputs of the code execution.
container_id: Option<String>The identifier of the code interpreter container.
status: Option<ItemStatus>The status of the code interpreter call.
Trait Implementations§
Source§impl Clone for CodeInterpreterCall
impl Clone for CodeInterpreterCall
Source§fn clone(&self) -> CodeInterpreterCall
fn clone(&self) -> CodeInterpreterCall
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 CodeInterpreterCall
impl Debug for CodeInterpreterCall
Source§impl<'de> Deserialize<'de> for CodeInterpreterCall
impl<'de> Deserialize<'de> for CodeInterpreterCall
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 CodeInterpreterCall
impl RefUnwindSafe for CodeInterpreterCall
impl Send for CodeInterpreterCall
impl Sync for CodeInterpreterCall
impl Unpin for CodeInterpreterCall
impl UnsafeUnpin for CodeInterpreterCall
impl UnwindSafe for CodeInterpreterCall
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