pub struct CFParty {
pub contest_id: Option<i64>,
pub members: Vec<CFMember>,
pub participant_type: CFParticipantType,
pub team_id: Option<i64>,
pub team_name: Option<String>,
pub ghost: bool,
pub room: Option<i64>,
pub start_time_seconds: Option<i64>,
}
Expand description
Struct representing a Codeforces party.
Fields§
§contest_id: Option<i64>
§members: Vec<CFMember>
§participant_type: CFParticipantType
§team_id: Option<i64>
§team_name: Option<String>
§ghost: bool
§room: Option<i64>
§start_time_seconds: Option<i64>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CFParty
impl<'de> Deserialize<'de> for CFParty
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
impl Eq for CFParty
impl StructuralPartialEq for CFParty
Auto Trait Implementations§
impl Freeze for CFParty
impl RefUnwindSafe for CFParty
impl Send for CFParty
impl Sync for CFParty
impl Unpin for CFParty
impl UnwindSafe for CFParty
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.