Struct medal::db_objects::Contest
source · pub struct Contest {Show 25 fields
pub id: Option<i32>,
pub location: String,
pub filename: String,
pub name: String,
pub duration: i32,
pub public: bool,
pub start: Option<Timespec>,
pub end: Option<Timespec>,
pub review_start: Option<Timespec>,
pub review_end: Option<Timespec>,
pub min_grade: Option<i32>,
pub max_grade: Option<i32>,
pub max_teamsize: Option<i32>,
pub positionalnumber: Option<i32>,
pub requires_login: Option<bool>,
pub requires_contest: Option<String>,
pub protected: bool,
pub secret: Option<String>,
pub message: Option<String>,
pub image: Option<String>,
pub language: Option<String>,
pub category: Option<String>,
pub standalone_task: Option<bool>,
pub tags: Vec<String>,
pub taskgroups: Vec<Taskgroup>,
}
Fields§
§id: Option<i32>
§location: String
§filename: String
§name: String
§duration: i32
§public: bool
§start: Option<Timespec>
§end: Option<Timespec>
§review_start: Option<Timespec>
§review_end: Option<Timespec>
§min_grade: Option<i32>
§max_grade: Option<i32>
§max_teamsize: Option<i32>
§positionalnumber: Option<i32>
§requires_login: Option<bool>
§requires_contest: Option<String>
§protected: bool
§secret: Option<String>
§message: Option<String>
§image: Option<String>
§language: Option<String>
§category: Option<String>
§standalone_task: Option<bool>
§taskgroups: Vec<Taskgroup>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Contest
impl RefUnwindSafe for Contest
impl Send for Contest
impl Sync for Contest
impl Unpin for Contest
impl UnwindSafe for Contest
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
.