pub struct PublicContestConfig {Show 17 fields
pub id: i64,
pub owner_id: Option<i64>,
pub owner_login: Option<String>,
pub name_ru: String,
pub name_en: String,
pub starts_at: DateTime<Utc>,
pub finishes_at: DateTime<Utc>,
pub statements_url_ru: String,
pub statements_url_en: String,
pub editorial_url_ru: String,
pub editorial_url_en: String,
pub hidden: bool,
pub upsolving_enabled: bool,
pub solutions_hidden: bool,
pub leaderboard_hidden: bool,
pub co_authors: Vec<i64>,
pub created_at: DateTime<Utc>,
}Fields§
§id: i64§owner_id: Option<i64>§owner_login: Option<String>§name_ru: String§name_en: String§starts_at: DateTime<Utc>§finishes_at: DateTime<Utc>§statements_url_ru: String§statements_url_en: String§editorial_url_ru: String§editorial_url_en: String§upsolving_enabled: bool§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for PublicContestConfig
impl Clone for PublicContestConfig
Source§fn clone(&self) -> PublicContestConfig
fn clone(&self) -> PublicContestConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicContestConfig
impl Debug for PublicContestConfig
Source§impl<'de> Deserialize<'de> for PublicContestConfig
impl<'de> Deserialize<'de> for PublicContestConfig
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 PublicContestConfig
impl RefUnwindSafe for PublicContestConfig
impl Send for PublicContestConfig
impl Sync for PublicContestConfig
impl Unpin for PublicContestConfig
impl UnsafeUnpin for PublicContestConfig
impl UnwindSafe for PublicContestConfig
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