pub struct TestCaseResultRow {
pub submission_id: i32,
pub test_case_id: i32,
pub verdict: Verdict,
pub score: f64,
pub time_used: Option<i32>,
pub memory_used: Option<i32>,
pub message: Option<String>,
pub stdout: Option<String>,
pub stderr: Option<String>,
}Expand description
Data for inserting a single test case result row.
Fields§
§submission_id: i32§test_case_id: i32§verdict: Verdict§score: f64§time_used: Option<i32>§memory_used: Option<i32>§message: Option<String>§stdout: Option<String>§stderr: Option<String>Trait Implementations§
Source§impl Clone for TestCaseResultRow
impl Clone for TestCaseResultRow
Source§fn clone(&self) -> TestCaseResultRow
fn clone(&self) -> TestCaseResultRow
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 TestCaseResultRow
impl Debug for TestCaseResultRow
Source§impl PartialEq for TestCaseResultRow
impl PartialEq for TestCaseResultRow
impl StructuralPartialEq for TestCaseResultRow
Auto Trait Implementations§
impl Freeze for TestCaseResultRow
impl RefUnwindSafe for TestCaseResultRow
impl Send for TestCaseResultRow
impl Sync for TestCaseResultRow
impl Unpin for TestCaseResultRow
impl UnsafeUnpin for TestCaseResultRow
impl UnwindSafe for TestCaseResultRow
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