pub struct ResponseCodeInterpreterCallCodeDoneEvent {
pub code: String,
pub output_index: i32,
pub _type: String,
}
Fields§
§code: String
The final code snippet output by the code interpreter.
output_index: i32
The index of the output item that the code interpreter call is in progress.
_type: String
The type of the event. Always response.code_interpreter_call.code.done
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ResponseCodeInterpreterCallCodeDoneEvent
impl<'de> Deserialize<'de> for ResponseCodeInterpreterCallCodeDoneEvent
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 ResponseCodeInterpreterCallCodeDoneEvent
impl RefUnwindSafe for ResponseCodeInterpreterCallCodeDoneEvent
impl Send for ResponseCodeInterpreterCallCodeDoneEvent
impl Sync for ResponseCodeInterpreterCallCodeDoneEvent
impl Unpin for ResponseCodeInterpreterCallCodeDoneEvent
impl UnwindSafe for ResponseCodeInterpreterCallCodeDoneEvent
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