pub struct CFHack {
pub id: i64,
pub creation_time_seconds: i64,
pub hacker: CFParty,
pub defender: CFParty,
pub verdict: Option<CFHackVerdict>,
pub problem: CFProblem,
pub test: Option<String>,
pub judge_protocol: Option<CFJudgeProtocol>,
}
Expand description
Struct representing a Codeforces hack.
Fields§
§id: i64
§creation_time_seconds: i64
§hacker: CFParty
§defender: CFParty
§verdict: Option<CFHackVerdict>
§problem: CFProblem
§test: Option<String>
§judge_protocol: Option<CFJudgeProtocol>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CFHack
impl<'de> Deserialize<'de> for CFHack
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 StructuralPartialEq for CFHack
Auto Trait Implementations§
impl Freeze for CFHack
impl RefUnwindSafe for CFHack
impl Send for CFHack
impl Sync for CFHack
impl Unpin for CFHack
impl UnwindSafe for CFHack
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