pub struct Subgroup {
pub type: SubgroupType,
pub tests: Vec<i32>,
pub score: Option<i32>,
pub score_per_test: Option<i32>,
pub depends_on: Vec<usize>,
}Expand description
Testing subgroup
Fields§
§type: SubgroupTypeSubgroup’s type
tests: Vec<i32>Array of tests’ indexes of the subgroup
score: Option<i32>Maximum score which can be obtained from the subgroup
score_per_test: Option<i32>Maximum score which can be obtained from the each of subgroup’s tests
depends_on: Vec<usize>Indexes of the subgroups, all of them must have Ok verdict to test on this subgroup.
Also, they must be less than index of this subgroup
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Subgroup
impl<'de> Deserialize<'de> for Subgroup
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 Subgroup
impl RefUnwindSafe for Subgroup
impl Send for Subgroup
impl Sync for Subgroup
impl Unpin for Subgroup
impl UnsafeUnpin for Subgroup
impl UnwindSafe for Subgroup
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