pub struct CodeInterpreterFileOutput {
pub files: Vec<CodeInterpreterFileOutputFiles>,
pub _type: String,
}
Expand description
§on openapi.yaml
CodeInterpreterFileOutput:
type: object
title: Code interpreter file output
description: |
The output of a code interpreter tool call that is a file.
properties:
type:
type: string
enum:
- files
description: |
The type of the code interpreter file output. Always `files`.
x-stainless-const: true
files:
type: array
items:
type: object
properties:
mime_type:
type: string
description: |
The MIME type of the file.
file_id:
type: string
description: |
The ID of the file.
required:
- mime_type
- file_id
required:
- type
- files
Fields§
§files: Vec<CodeInterpreterFileOutputFiles>
§_type: String
The type of the code interpreter file output. Always files
.
Trait Implementations§
Source§impl Debug for CodeInterpreterFileOutput
impl Debug for CodeInterpreterFileOutput
Source§impl<'de> Deserialize<'de> for CodeInterpreterFileOutput
impl<'de> Deserialize<'de> for CodeInterpreterFileOutput
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 CodeInterpreterFileOutput
impl RefUnwindSafe for CodeInterpreterFileOutput
impl Send for CodeInterpreterFileOutput
impl Sync for CodeInterpreterFileOutput
impl Unpin for CodeInterpreterFileOutput
impl UnwindSafe for CodeInterpreterFileOutput
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