pub struct GradedCase {Show 14 fields
pub id: String,
pub run: u32,
pub passed: bool,
pub tags: Vec<String>,
pub checks: Vec<Check>,
pub turns: u32,
pub elapsed_ms: u64,
pub malformed_tool_args: u32,
pub unknown_tools: u32,
pub tool_errors: u32,
pub tools_called: Vec<String>,
pub usage: Usage,
pub error: Option<String>,
pub text: String,
}Fields§
§id: String§run: u32Which repetition of the case this is, 1-based. Reports written before
--runs existed carry no field and load as run 1.
passed: bool§checks: Vec<Check>§turns: u32§elapsed_ms: u64§malformed_tool_args: u32§unknown_tools: u32§tool_errors: u32§tools_called: Vec<String>§usage: Usage§error: Option<String>§text: StringImplementations§
Trait Implementations§
Source§impl Clone for GradedCase
impl Clone for GradedCase
Source§fn clone(&self) -> GradedCase
fn clone(&self) -> GradedCase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GradedCase
impl Debug for GradedCase
Source§impl<'de> Deserialize<'de> for GradedCase
impl<'de> Deserialize<'de> for GradedCase
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 GradedCase
impl RefUnwindSafe for GradedCase
impl Send for GradedCase
impl Sync for GradedCase
impl Unpin for GradedCase
impl UnsafeUnpin for GradedCase
impl UnwindSafe for GradedCase
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