pub struct AssistantObjectToolResourcesCodeInterpreter {
pub file_ids: Option<Vec<String>>,
}
Fields§
§file_ids: Option<Vec<String>>
A list of file IDs made available to the `code_interpreter`` tool. There can be a maximum of 20 files associated with the tool.
Implementations§
Source§impl AssistantObjectToolResourcesCodeInterpreter
impl AssistantObjectToolResourcesCodeInterpreter
Sourcepub fn builder() -> AssistantObjectToolResourcesCodeInterpreterBuilder<((),)>
pub fn builder() -> AssistantObjectToolResourcesCodeInterpreterBuilder<((),)>
Create a builder for building AssistantObjectToolResourcesCodeInterpreter
.
On the builder, call .file_ids(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of AssistantObjectToolResourcesCodeInterpreter
.
Trait Implementations§
Source§impl Clone for AssistantObjectToolResourcesCodeInterpreter
impl Clone for AssistantObjectToolResourcesCodeInterpreter
Source§fn clone(&self) -> AssistantObjectToolResourcesCodeInterpreter
fn clone(&self) -> AssistantObjectToolResourcesCodeInterpreter
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 Default for AssistantObjectToolResourcesCodeInterpreter
impl Default for AssistantObjectToolResourcesCodeInterpreter
Source§fn default() -> AssistantObjectToolResourcesCodeInterpreter
fn default() -> AssistantObjectToolResourcesCodeInterpreter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssistantObjectToolResourcesCodeInterpreter
impl<'de> Deserialize<'de> for AssistantObjectToolResourcesCodeInterpreter
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 AssistantObjectToolResourcesCodeInterpreter
impl PartialEq for AssistantObjectToolResourcesCodeInterpreter
Source§fn eq(&self, other: &AssistantObjectToolResourcesCodeInterpreter) -> bool
fn eq(&self, other: &AssistantObjectToolResourcesCodeInterpreter) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AssistantObjectToolResourcesCodeInterpreter
Auto Trait Implementations§
impl Freeze for AssistantObjectToolResourcesCodeInterpreter
impl RefUnwindSafe for AssistantObjectToolResourcesCodeInterpreter
impl Send for AssistantObjectToolResourcesCodeInterpreter
impl Sync for AssistantObjectToolResourcesCodeInterpreter
impl Unpin for AssistantObjectToolResourcesCodeInterpreter
impl UnwindSafe for AssistantObjectToolResourcesCodeInterpreter
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