pub struct BuildEvalOpsInput {
pub problem_id: i32,
pub test_case_id: i32,
pub solution_source: Vec<SourceFile>,
pub solution_language: String,
pub time_limit_ms: i32,
pub memory_limit_kb: i32,
pub test_input: String,
pub expected_output: String,
pub checker_format: Option<String>,
pub checker_config: Option<Value>,
pub checker_source: Option<Vec<SourceFile>>,
}Expand description
Server-enriched input forwarded to the evaluator plugin.
Fields§
§problem_id: i32§test_case_id: i32§solution_source: Vec<SourceFile>§solution_language: String§time_limit_ms: i32§memory_limit_kb: i32§test_input: StringTest case input (stdin content). Server-enriched.
expected_output: StringExpected output for checker. Server-enriched.
checker_format: Option<String>Checker format name (e.g. “exact”, “tokens”). Server-enriched.
checker_config: Option<Value>Opaque checker config blob. Server-enriched.
checker_source: Option<Vec<SourceFile>>Checker source files (for custom/testlib checkers). Server-enriched.
Trait Implementations§
Source§impl Clone for BuildEvalOpsInput
impl Clone for BuildEvalOpsInput
Source§fn clone(&self) -> BuildEvalOpsInput
fn clone(&self) -> BuildEvalOpsInput
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 BuildEvalOpsInput
impl Debug for BuildEvalOpsInput
Source§impl<'de> Deserialize<'de> for BuildEvalOpsInput
impl<'de> Deserialize<'de> for BuildEvalOpsInput
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 BuildEvalOpsInput
impl RefUnwindSafe for BuildEvalOpsInput
impl Send for BuildEvalOpsInput
impl Sync for BuildEvalOpsInput
impl Unpin for BuildEvalOpsInput
impl UnsafeUnpin for BuildEvalOpsInput
impl UnwindSafe for BuildEvalOpsInput
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