pub struct TestExecutionResult {
Show 35 fields pub status_code: Option<u32>, pub lang: Option<String>, pub run_success: Option<bool>, pub compile_error: Option<String>, pub full_compile_error: Option<String>, pub status_runtime: Option<String>, pub memory: Option<u32>, pub code_answer: Option<Vec<String>>, pub code_output: Option<Vec<String>>, pub std_output_list: Option<Vec<String>>, pub elapsed_time: Option<u32>, pub task_finish_time: Option<u64>, pub task_name: Option<String>, pub expected_status_code: Option<u32>, pub expected_lang: Option<String>, pub expected_run_success: Option<bool>, pub expected_status_runtime: Option<String>, pub expected_memory: Option<u32>, pub expected_code_answer: Option<Vec<String>>, pub expected_code_output: Option<Vec<String>>, pub expected_std_output_list: Option<Vec<String>>, pub expected_elapsed_time: Option<u32>, pub expected_task_finish_time: Option<u64>, pub expected_task_name: Option<String>, pub correct_answer: Option<bool>, pub compare_result: Option<String>, pub total_correct: Option<u32>, pub total_testcases: Option<u32>, pub runtime_percentile: Option<Option<f64>>, pub status_memory: Option<String>, pub memory_percentile: Option<Option<f64>>, pub pretty_lang: Option<String>, pub submission_id: Option<String>, pub status_msg: Option<String>, pub state: String,
}

Fields§

§status_code: Option<u32>§lang: Option<String>§run_success: Option<bool>§compile_error: Option<String>§full_compile_error: Option<String>§status_runtime: Option<String>§memory: Option<u32>§code_answer: Option<Vec<String>>§code_output: Option<Vec<String>>§std_output_list: Option<Vec<String>>§elapsed_time: Option<u32>§task_finish_time: Option<u64>§task_name: Option<String>§expected_status_code: Option<u32>§expected_lang: Option<String>§expected_run_success: Option<bool>§expected_status_runtime: Option<String>§expected_memory: Option<u32>§expected_code_answer: Option<Vec<String>>§expected_code_output: Option<Vec<String>>§expected_std_output_list: Option<Vec<String>>§expected_elapsed_time: Option<u32>§expected_task_finish_time: Option<u64>§expected_task_name: Option<String>§correct_answer: Option<bool>§compare_result: Option<String>§total_correct: Option<u32>§total_testcases: Option<u32>§runtime_percentile: Option<Option<f64>>§status_memory: Option<String>§memory_percentile: Option<Option<f64>>§pretty_lang: Option<String>§submission_id: Option<String>§status_msg: Option<String>§state: String

Trait Implementations§

source§

impl Debug for TestExecutionResult

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestExecutionResult

source§

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§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,