pub struct CompileResponse {
pub success: bool,
pub stdout: String,
pub exit_code: i32,
pub compile_time_ms: u64,
pub error: Option<String>,
}Expand description
Response from Client::compile.
Fields§
§success: booltrue if compilation and execution succeeded.
stdout: StringCaptured standard output.
exit_code: i32Exit code (0 = success).
compile_time_ms: u64Compilation time in milliseconds (excludes execution).
error: Option<String>Compile error message, if any.
Trait Implementations§
Source§impl Clone for CompileResponse
impl Clone for CompileResponse
Source§fn clone(&self) -> CompileResponse
fn clone(&self) -> CompileResponse
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 CompileResponse
impl Debug for CompileResponse
Source§impl<'de> Deserialize<'de> for CompileResponse
impl<'de> Deserialize<'de> for CompileResponse
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 CompileResponse
impl RefUnwindSafe for CompileResponse
impl Send for CompileResponse
impl Sync for CompileResponse
impl Unpin for CompileResponse
impl UnsafeUnpin for CompileResponse
impl UnwindSafe for CompileResponse
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