pub struct ProblemResult {
pub points: f64,
pub penalty: Option<u64>,
pub rejected_attempt_count: u64,
pub result_type: ProblemResultType,
pub best_submission_time_seconds: Option<u64>,
}Expand description
One party’s result on a particular problem.
Fields§
§points: f64§penalty: Option<u64>§rejected_attempt_count: u64§result_type: ProblemResultType§best_submission_time_seconds: Option<u64>Trait Implementations§
Source§impl Clone for ProblemResult
impl Clone for ProblemResult
Source§fn clone(&self) -> ProblemResult
fn clone(&self) -> ProblemResult
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 ProblemResult
impl Debug for ProblemResult
Source§impl<'de> Deserialize<'de> for ProblemResult
impl<'de> Deserialize<'de> for ProblemResult
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
Source§impl PartialEq for ProblemResult
impl PartialEq for ProblemResult
impl StructuralPartialEq for ProblemResult
Auto Trait Implementations§
impl Freeze for ProblemResult
impl RefUnwindSafe for ProblemResult
impl Send for ProblemResult
impl Sync for ProblemResult
impl Unpin for ProblemResult
impl UnwindSafe for ProblemResult
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