pub struct JudgeSpec {
pub judge_type: String,
pub cases: HashMap<String, CaseSpec>,
pub provided: Files,
}
Expand description
A problem’s judge spec
Fields§
§judge_type: String
§cases: HashMap<String, CaseSpec>
§provided: Files
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JudgeSpec
impl<'de> Deserialize<'de> for JudgeSpec
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 JudgeSpec
impl RefUnwindSafe for JudgeSpec
impl Send for JudgeSpec
impl Sync for JudgeSpec
impl Unpin for JudgeSpec
impl UnwindSafe for JudgeSpec
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