pub struct ProblemConfig {Show 13 fields
pub owner_id: Option<i64>,
pub name_ru: String,
pub name_en: String,
pub type: ProblemType,
pub testing_type: ProblemTestingType,
pub contest_id: i64,
pub index: i64,
pub time_limit_ms: i32,
pub memory_limit_mb: i32,
pub checker_path: String,
pub checker_lang: Language,
pub tests_path: String,
pub subgroups: Vec<Subgroup>,
}Fields§
§owner_id: Option<i64>§name_ru: String§name_en: String§type: ProblemType§testing_type: ProblemTestingType§contest_id: i64§index: i64§time_limit_ms: i32§memory_limit_mb: i32§checker_path: String§checker_lang: Language§tests_path: String§subgroups: Vec<Subgroup>Trait Implementations§
Source§impl Clone for ProblemConfig
impl Clone for ProblemConfig
Source§fn clone(&self) -> ProblemConfig
fn clone(&self) -> ProblemConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProblemConfig
impl Debug for ProblemConfig
Source§impl<'de> Deserialize<'de> for ProblemConfig
impl<'de> Deserialize<'de> for ProblemConfig
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 ProblemConfig
impl RefUnwindSafe for ProblemConfig
impl Send for ProblemConfig
impl Sync for ProblemConfig
impl Unpin for ProblemConfig
impl UnsafeUnpin for ProblemConfig
impl UnwindSafe for ProblemConfig
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