pub struct StudentReplayResult {
pub trace_id: String,
pub candidate_id: String,
pub baseline: StudentReplayMetrics,
pub candidate: StudentReplayMetrics,
pub required_tests: Vec<StudentReplayTestResult>,
pub policy_violations: Vec<String>,
pub stale: bool,
pub notes: Option<String>,
}Fields§
§trace_id: String§candidate_id: String§baseline: StudentReplayMetrics§candidate: StudentReplayMetrics§required_tests: Vec<StudentReplayTestResult>§policy_violations: Vec<String>§stale: bool§notes: Option<String>Implementations§
Source§impl StudentReplayResult
impl StudentReplayResult
pub fn score_delta(&self) -> i32
pub fn cost_delta_microusd(&self) -> i64
Trait Implementations§
Source§impl Clone for StudentReplayResult
impl Clone for StudentReplayResult
Source§fn clone(&self) -> StudentReplayResult
fn clone(&self) -> StudentReplayResult
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 StudentReplayResult
impl Debug for StudentReplayResult
Source§impl<'de> Deserialize<'de> for StudentReplayResult
impl<'de> Deserialize<'de> for StudentReplayResult
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 StudentReplayResult
Source§impl PartialEq for StudentReplayResult
impl PartialEq for StudentReplayResult
Source§fn eq(&self, other: &StudentReplayResult) -> bool
fn eq(&self, other: &StudentReplayResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StudentReplayResult
impl Serialize for StudentReplayResult
impl StructuralPartialEq for StudentReplayResult
Auto Trait Implementations§
impl Freeze for StudentReplayResult
impl RefUnwindSafe for StudentReplayResult
impl Send for StudentReplayResult
impl Sync for StudentReplayResult
impl Unpin for StudentReplayResult
impl UnsafeUnpin for StudentReplayResult
impl UnwindSafe for StudentReplayResult
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