Struct codeforces_api::responses::CFContest[][src]

pub struct CFContest {
    pub id: i64,
    pub name: String,
    pub contest_type: CFContestType,
    pub phase: CFContestPhase,
    pub duration_seconds: i64,
    pub start_time_seconds: Option<i64>,
    pub relative_time_seconds: Option<i64>,
    pub prepared_by: Option<String>,
    pub website_url: Option<String>,
    pub description: Option<String>,
    pub difficulty: Option<i64>,
    pub kind: Option<String>,
    pub icpc_region: Option<String>,
    pub country: Option<String>,
    pub city: Option<String>,
    pub season: Option<String>,
}

Struct representing a Codeforces contest.

Fields

id: i64name: Stringcontest_type: CFContestTypephase: CFContestPhaseduration_seconds: i64start_time_seconds: Option<i64>relative_time_seconds: Option<i64>prepared_by: Option<String>website_url: Option<String>description: Option<String>difficulty: Option<i64>kind: Option<String>icpc_region: Option<String>country: Option<String>city: Option<String>season: Option<String>

Trait Implementations

impl Clone for CFContest[src]

impl Debug for CFContest[src]

impl<'de> Deserialize<'de> for CFContest[src]

impl Eq for CFContest[src]

impl PartialEq<CFContest> for CFContest[src]

impl Serialize for CFContest[src]

impl StructuralEq for CFContest[src]

impl StructuralPartialEq for CFContest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,