pub struct CodeScriptExecutionResult {
pub result: Option<Value>,
pub logs: Vec<String>,
pub success: bool,
pub error: Option<String>,
}Expand description
执行结果,包含js/python 执行结果,和打印的log日志
Fields§
§result: Option<Value>§logs: Vec<String>§success: bool§error: Option<String>Trait Implementations§
Source§impl Debug for CodeScriptExecutionResult
impl Debug for CodeScriptExecutionResult
Source§impl<'de> Deserialize<'de> for CodeScriptExecutionResult
impl<'de> Deserialize<'de> for CodeScriptExecutionResult
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 CodeScriptExecutionResult
impl RefUnwindSafe for CodeScriptExecutionResult
impl Send for CodeScriptExecutionResult
impl Sync for CodeScriptExecutionResult
impl Unpin for CodeScriptExecutionResult
impl UnwindSafe for CodeScriptExecutionResult
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