struct TaskYaml {
    name: Option<String>,
    standalone: Option<bool>,
    public_listing: Option<bool>,
    image: Option<String>,
    languages: Option<Vec<String>>,
    tags: Option<Vec<String>>,
    position: Option<i32>,
    secret: Option<String>,
}Expand description
TaskYaml defines the content of a YAML file describing a standalone task.
The file must be named task.yaml.
Example:
name: "Funny task"
standalone: true
public_listing: false
image: "preview.png"
languages:
  - blockly
  - python
tags:
  - easy
  - task
  - blockly
  - python
position: 1Fields§
§name: Option<String>The name of the task.
This value must be set!
standalone: Option<bool>Set to true to define this task as a standalone task.
This value must be set to true!
public_listing: Option<bool>Set to true to show the task in the list of standalone tasks.
image: Option<String>An image to be shown for this task in the list of standalone tasks..
languages: Option<Vec<String>>A list of the languages that the task should be available in. Possible
values are blockly or python.
A list of tags to annotate the contest with. Contests can be filtered by tag on the contest list pages.
position: Option<i32>A number to order the task by in the list of standalone tasks. Tasks will be ordered by DESCENDING position number.
secret: Option<String>A password required to start a participation on this task. Also allows
contests to be searched by this value, so this secret should be reused
between contests ONLY if the intended audience is exactly the same.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskYaml
 
impl<'de> Deserialize<'de> for TaskYaml
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>,
Auto Trait Implementations§
impl Freeze for TaskYaml
impl RefUnwindSafe for TaskYaml
impl Send for TaskYaml
impl Sync for TaskYaml
impl Unpin for TaskYaml
impl UnwindSafe for TaskYaml
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
§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>>
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>>
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>
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
self into a value of type T.