Struct medal::contestreader_yaml::ContestYaml
source · struct ContestYaml {Show 21 fields
name: Option<String>,
participation_start: Option<String>,
participation_end: Option<String>,
review_start: Option<String>,
review_end: Option<String>,
duration_minutes: Option<i32>,
public_listing: Option<bool>,
protected: Option<bool>,
requires_login: Option<bool>,
requires_contest: Option<Vec<String>>,
secret: Option<String>,
message: Option<String>,
image: Option<String>,
language: Option<String>,
category: Option<String>,
min_grade: Option<i32>,
max_grade: Option<i32>,
position: Option<i32>,
team_participation: Option<bool>,
tags: Option<Vec<String>>,
tasks: Option<Mapping>,
}
Fields§
§name: Option<String>
§participation_start: Option<String>
§participation_end: Option<String>
§review_start: Option<String>
§review_end: Option<String>
§duration_minutes: Option<i32>
§public_listing: Option<bool>
§protected: Option<bool>
§requires_login: Option<bool>
§requires_contest: Option<Vec<String>>
§secret: Option<String>
§message: Option<String>
§image: Option<String>
§language: Option<String>
§category: Option<String>
§min_grade: Option<i32>
§max_grade: Option<i32>
§position: Option<i32>
§team_participation: Option<bool>
§tasks: Option<Mapping>
Trait Implementations§
source§impl Debug for ContestYaml
impl Debug for ContestYaml
source§impl<'de> Deserialize<'de> for ContestYaml
impl<'de> Deserialize<'de> for ContestYaml
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 ContestYaml
impl RefUnwindSafe for ContestYaml
impl Send for ContestYaml
impl Sync for ContestYaml
impl Unpin for ContestYaml
impl UnwindSafe for ContestYaml
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PersistentInto<Arc<Mutex<T>>> for T
impl<T> PersistentInto<Arc<Mutex<T>>> for T
§fn persistent_into(self) -> Arc<Mutex<T>>
fn persistent_into(self) -> Arc<Mutex<T>>
Convert
self
into a value of type T
.§impl<T> PersistentInto<Arc<RwLock<T>>> for T
impl<T> PersistentInto<Arc<RwLock<T>>> for T
§fn persistent_into(self) -> Arc<RwLock<T>>
fn persistent_into(self) -> Arc<RwLock<T>>
Convert
self
into a value of type T
.§impl<T> PersistentInto<Arc<T>> for T
impl<T> PersistentInto<Arc<T>> for T
§fn persistent_into(self) -> Arc<T>
fn persistent_into(self) -> Arc<T>
Convert
self
into a value of type T
.§impl<T> PersistentInto<T> for T
impl<T> PersistentInto<T> for T
§fn persistent_into(self) -> T
fn persistent_into(self) -> T
Convert
self
into a value of type T
.