pub struct Contest {
pub id: u32,
pub name: Box<str>,
pub kind: Box<str>,
pub phase: Box<str>,
pub start_time_seconds: Option<i64>,
pub duration_seconds: Option<u32>,
}Expand description
A public Codeforces contest, suitable for calendars and status views
Fields§
§id: u32§name: Box<str>§kind: Box<str>§phase: Box<str>§start_time_seconds: Option<i64>§duration_seconds: Option<u32>Trait Implementations§
impl Eq for Contest
impl StructuralPartialEq for Contest
Auto Trait Implementations§
impl Freeze for Contest
impl RefUnwindSafe for Contest
impl Send for Contest
impl Sync for Contest
impl Unpin for Contest
impl UnsafeUnpin for Contest
impl UnwindSafe for Contest
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