pub struct CodeExecConfig {
pub language: Option<String>,
pub timeout_ms: Option<i64>,
}Expand description
Code execution configuration.
Fields§
§language: Option<String>§timeout_ms: Option<i64>Trait Implementations§
Source§impl Clone for CodeExecConfig
impl Clone for CodeExecConfig
Source§fn clone(&self) -> CodeExecConfig
fn clone(&self) -> CodeExecConfig
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 CodeExecConfig
impl Debug for CodeExecConfig
Source§impl Default for CodeExecConfig
impl Default for CodeExecConfig
Source§fn default() -> CodeExecConfig
fn default() -> CodeExecConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeExecConfig
impl<'de> Deserialize<'de> for CodeExecConfig
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 CodeExecConfig
impl PartialEq for CodeExecConfig
Source§impl Serialize for CodeExecConfig
impl Serialize for CodeExecConfig
impl StructuralPartialEq for CodeExecConfig
Auto Trait Implementations§
impl Freeze for CodeExecConfig
impl RefUnwindSafe for CodeExecConfig
impl Send for CodeExecConfig
impl Sync for CodeExecConfig
impl Unpin for CodeExecConfig
impl UnwindSafe for CodeExecConfig
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