Struct medal::core::ContestTimeInfo
source · pub struct ContestTimeInfo {Show 21 fields
pub passed_secs_total: i64,
pub left_secs_total: i64,
pub left_mins_total: i64,
pub left_hour: i64,
pub left_min: i64,
pub left_sec: i64,
pub has_timelimit: bool,
pub is_time_left: bool,
pub exempt_from_timelimit: bool,
pub can_still_compete: bool,
pub review_has_timelimit: bool,
pub has_future_review: bool,
pub has_review_end: bool,
pub is_review: bool,
pub can_still_compete_or_review: bool,
pub until_review_start_day: i64,
pub until_review_start_hour: i64,
pub until_review_start_min: i64,
pub until_review_end_day: i64,
pub until_review_end_hour: i64,
pub until_review_end_min: i64,
}
Fields§
§passed_secs_total: i64
§left_secs_total: i64
§left_mins_total: i64
§left_hour: i64
§left_min: i64
§left_sec: i64
§has_timelimit: bool
§is_time_left: bool
§exempt_from_timelimit: bool
§can_still_compete: bool
§review_has_timelimit: bool
§has_future_review: bool
§has_review_end: bool
§is_review: bool
§can_still_compete_or_review: bool
§until_review_start_day: i64
§until_review_start_hour: i64
§until_review_start_min: i64
§until_review_end_day: i64
§until_review_end_hour: i64
§until_review_end_min: i64
Trait Implementations§
source§impl<'de> Deserialize<'de> for ContestTimeInfo
impl<'de> Deserialize<'de> for ContestTimeInfo
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 ContestTimeInfo
impl RefUnwindSafe for ContestTimeInfo
impl Send for ContestTimeInfo
impl Sync for ContestTimeInfo
impl Unpin for ContestTimeInfo
impl UnwindSafe for ContestTimeInfo
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
.