#[non_exhaustive]pub struct CodeInterpreterCall {
pub agent: Option<Option<Agent>>,
pub type_: CodeInterpreterCallType,
pub id: String,
pub code: Option<String>,
pub container_id: String,
pub outputs: Option<Vec<CodeInterpreterOutput>>,
pub status: CodeInterpreterStatus,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent: Option<Option<Agent>>§type_: CodeInterpreterCallType§id: String§code: Option<String>§container_id: String§outputs: Option<Vec<CodeInterpreterOutput>>§status: CodeInterpreterStatus§rest: RestImplementations§
Source§impl CodeInterpreterCall
impl CodeInterpreterCall
Sourcepub fn builder(
type_: CodeInterpreterCallType,
id: String,
code: Option<String>,
container_id: String,
outputs: Option<Vec<CodeInterpreterOutput>>,
status: CodeInterpreterStatus,
) -> CodeInterpreterCallBuilder
pub fn builder( type_: CodeInterpreterCallType, id: String, code: Option<String>, container_id: String, outputs: Option<Vec<CodeInterpreterOutput>>, status: CodeInterpreterStatus, ) -> CodeInterpreterCallBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for CodeInterpreterCall
impl Clone for CodeInterpreterCall
Source§impl Debug for CodeInterpreterCall
impl Debug for CodeInterpreterCall
Source§impl DeclaredFields for CodeInterpreterCall
impl DeclaredFields for CodeInterpreterCall
fn into_declared(self) -> Self
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
impl Eq for CodeInterpreterCall
Source§impl PartialEq for CodeInterpreterCall
impl PartialEq for CodeInterpreterCall
Source§impl Serialize for CodeInterpreterCall
impl Serialize for CodeInterpreterCall
impl StructuralPartialEq for CodeInterpreterCall
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