pub struct RunResult {Show 32 fields
pub elapsed_time: u32,
pub finished: bool,
pub task_name: String,
pub status_code: i64,
pub status_msg: String,
pub question_id: String,
pub std_output: String,
pub expected_output: String,
pub last_testcase: String,
pub code_answer: Vec<String>,
pub compare_result: String,
pub correct_answer: bool,
pub expected_code_answer: Vec<String>,
pub expected_code_output: Vec<String>,
pub pretty_lang: String,
pub lang: String,
pub memory: u64,
pub status_memory: String,
pub memory_percentile: Option<f64>,
pub status_runtime: String,
pub runtime_percentile: Option<f64>,
pub run_success: bool,
pub state: String,
pub std_output_list: Vec<String>,
pub submission_id: String,
pub task_finish_time: u64,
pub total_correct: Option<u64>,
pub total_testcases: Option<u64>,
pub full_runtime_error: String,
pub runtime_error: String,
pub compile_error: String,
pub full_compile_error: String,
}
Fields§
§elapsed_time: u32
§finished: bool
§task_name: String
§status_code: i64
§status_msg: String
§question_id: String
§std_output: String
§expected_output: String
§last_testcase: String
§code_answer: Vec<String>
§compare_result: String
§correct_answer: bool
§expected_code_answer: Vec<String>
§expected_code_output: Vec<String>
§pretty_lang: String
§lang: String
§memory: u64
§status_memory: String
§memory_percentile: Option<f64>
§status_runtime: String
§runtime_percentile: Option<f64>
§run_success: bool
§state: String
§std_output_list: Vec<String>
§submission_id: String
§task_finish_time: u64
§total_correct: Option<u64>
§total_testcases: Option<u64>
§full_runtime_error: String
§runtime_error: String
§compile_error: String
§full_compile_error: String
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for RunResult
impl<'de> Deserialize<'de> for RunResult
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
impl StructuralPartialEq for RunResult
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnwindSafe for RunResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more