pub struct RunReport { /* private fields */ }Expand description
The result of running one submission against a lesson: the graded verdict, the per-check outcomes, and the submission’s captured output.
A typed value (§1.1) the run command computes and then renders. The verdict
is the Verdict sum type — carrying its learner-facing message — so a
“correct with no feedback” or contradictory state is unrepresentable; the
JSON consumer’s flat {verdict, feedback} pair is a serialization detail, not
a second source of truth. Its JSON form is defined once here (via the private
RunDocument), so core owns the report’s canonical wire shape the way it
owns the lesson’s; the cli only chooses human-vs-json and the output stream.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunReport
impl<'de> Deserialize<'de> for RunReport
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 Eq for RunReport
impl StructuralPartialEq for RunReport
Auto Trait Implementations§
impl Freeze for RunReport
impl RefUnwindSafe for RunReport
impl Send for RunReport
impl Sync for RunReport
impl Unpin for RunReport
impl UnwindSafe for RunReport
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.