pub struct CodeExecutionInput {
pub code: String,
pub input_files: Vec<Value>,
pub execution_id: Option<String>,
}Expand description
A structure that contains the input of code execution. */
Fields§
§code: StringThe code to execute.
input_files: Vec<Value>The input files available to the code.
execution_id: Option<String>The execution ID for the stateful code execution.
Trait Implementations§
Source§impl Clone for CodeExecutionInput
impl Clone for CodeExecutionInput
Source§fn clone(&self) -> CodeExecutionInput
fn clone(&self) -> CodeExecutionInput
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 CodeExecutionInput
impl Debug for CodeExecutionInput
Source§impl Default for CodeExecutionInput
impl Default for CodeExecutionInput
Source§fn default() -> CodeExecutionInput
fn default() -> CodeExecutionInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodeExecutionInput
impl RefUnwindSafe for CodeExecutionInput
impl Send for CodeExecutionInput
impl Sync for CodeExecutionInput
impl Unpin for CodeExecutionInput
impl UnwindSafe for CodeExecutionInput
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