pub struct CodeExecutionArguments {
pub language: Option<CodeExecutionLanguage>,
pub code: Option<String>,
}Expand description
Arguments for code execution call
Fields§
§language: Option<CodeExecutionLanguage>Programming language (currently only Python is supported)
code: Option<String>The code to be executed
Trait Implementations§
Source§impl Clone for CodeExecutionArguments
impl Clone for CodeExecutionArguments
Source§fn clone(&self) -> CodeExecutionArguments
fn clone(&self) -> CodeExecutionArguments
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 CodeExecutionArguments
impl Debug for CodeExecutionArguments
Source§impl<'de> Deserialize<'de> for CodeExecutionArguments
impl<'de> Deserialize<'de> for CodeExecutionArguments
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 CodeExecutionArguments
impl RefUnwindSafe for CodeExecutionArguments
impl Send for CodeExecutionArguments
impl Sync for CodeExecutionArguments
impl Unpin for CodeExecutionArguments
impl UnwindSafe for CodeExecutionArguments
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