Struct acick_util::model::Problem [−][src]
pub struct Problem { /* fields omitted */ }Implementations
pub fn new(
id: impl Into<ProblemId>,
name: impl Into<String>,
url_name: impl Into<String>,
time_limit: Option<Duration>,
memory_limit: Option<Byte>,
compare: Compare,
samples: Vec<Sample>
) -> Self
pub fn take_samples(self, sample_name: &Option<String>) -> SampleIterⓘNotable traits for SampleIterimpl Iterator for SampleIter type Item = Result<Sample>;
Notable traits for SampleIter
impl Iterator for SampleIter type Item = Result<Sample>;Trait Implementations
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 RefUnwindSafe for Problem
impl UnwindSafe for Problem
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more