pub enum CodeInterpreterResult {
Logs(CodeInterpreterTextOutput),
Files(CodeInterpreterFileOutput),
}
Expand description
Individual result from a code interpreter: either logs or files.
Variants§
Logs(CodeInterpreterTextOutput)
Text logs from the execution.
Files(CodeInterpreterFileOutput)
File outputs from the execution.
Trait Implementations§
Source§impl Clone for CodeInterpreterResult
impl Clone for CodeInterpreterResult
Source§fn clone(&self) -> CodeInterpreterResult
fn clone(&self) -> CodeInterpreterResult
Returns a duplicate of the value. Read more
1.0.0 · 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 CodeInterpreterResult
impl Debug for CodeInterpreterResult
Source§impl<'de> Deserialize<'de> for CodeInterpreterResult
impl<'de> Deserialize<'de> for CodeInterpreterResult
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 CodeInterpreterResult
impl PartialEq for CodeInterpreterResult
Source§impl Serialize for CodeInterpreterResult
impl Serialize for CodeInterpreterResult
impl StructuralPartialEq for CodeInterpreterResult
Auto Trait Implementations§
impl Freeze for CodeInterpreterResult
impl RefUnwindSafe for CodeInterpreterResult
impl Send for CodeInterpreterResult
impl Sync for CodeInterpreterResult
impl Unpin for CodeInterpreterResult
impl UnwindSafe for CodeInterpreterResult
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