pub struct DetailedTask {Show 13 fields
pub time_limit: Option<f64>,
pub help_available: bool,
pub statements: Statement,
pub name: String,
pub success: u8,
pub title: String,
pub submission_format: Vec<String>,
pub memory_limit: Option<u16>,
pub task_type: String,
pub score_multiplier: f64,
pub id: usize,
pub tags: Vec<Tag>,
pub attachments: Vec<Vec<String>>,
}
Expand description
Detailed task description
Fields§
§time_limit: Option<f64>
§help_available: bool
§statements: Statement
§name: String
§success: u8
§title: String
§submission_format: Vec<String>
§memory_limit: Option<u16>
§task_type: String
§score_multiplier: f64
§id: usize
§attachments: Vec<Vec<String>>
Trait Implementations§
Source§impl Clone for DetailedTask
impl Clone for DetailedTask
Source§fn clone(&self) -> DetailedTask
fn clone(&self) -> DetailedTask
Returns a copy of the value. Read more
1.0.0 · 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 DetailedTask
impl Debug for DetailedTask
Source§impl<'de> Deserialize<'de> for DetailedTask
impl<'de> Deserialize<'de> for DetailedTask
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 DetailedTask
impl RefUnwindSafe for DetailedTask
impl Send for DetailedTask
impl Sync for DetailedTask
impl Unpin for DetailedTask
impl UnwindSafe for DetailedTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more