pub struct CFProblemResult {
pub points: f64,
pub penalty: Option<i64>,
pub rejected_attempt_count: i64,
pub problem_result_type: CFProblemResultType,
pub best_submission_time_seconds: Option<i64>,
}
Expand description
Struct representing a Codeforces problem result.
Fields§
§points: f64
§penalty: Option<i64>
§rejected_attempt_count: i64
§problem_result_type: CFProblemResultType
§best_submission_time_seconds: Option<i64>
Trait Implementations§
Source§impl Clone for CFProblemResult
impl Clone for CFProblemResult
Source§fn clone(&self) -> CFProblemResult
fn clone(&self) -> CFProblemResult
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 CFProblemResult
impl Debug for CFProblemResult
Source§impl<'de> Deserialize<'de> for CFProblemResult
impl<'de> Deserialize<'de> for CFProblemResult
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 CFProblemResult
impl PartialEq for CFProblemResult
Source§impl Serialize for CFProblemResult
impl Serialize for CFProblemResult
impl StructuralPartialEq for CFProblemResult
Auto Trait Implementations§
impl Freeze for CFProblemResult
impl RefUnwindSafe for CFProblemResult
impl Send for CFProblemResult
impl Sync for CFProblemResult
impl Unpin for CFProblemResult
impl UnwindSafe for CFProblemResult
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