Struct u_interface::Submission
source · [−]pub(crate) struct Submission {
pub(crate) sid: i64,
pub(crate) pid: u16,
pub(crate) ver: u16,
pub(crate) lan: u8,
pub(crate) run: u64,
pub(crate) mem: u64,
pub(crate) rank: u16,
pub(crate) sbt: u64,
pub(crate) name: String,
pub(crate) uname: String,
}
Expand description
A Struct holding data for a problem submission
Fields
sid: i64
pid: u16
ver: u16
lan: u8
run: u64
mem: u64
rank: u16
sbt: u64
name: String
uname: String
Trait Implementations
sourceimpl Debug for Submission
impl Debug for Submission
sourceimpl<'de> Deserialize<'de> for Submission
impl<'de> Deserialize<'de> for Submission
sourcefn 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
sourceimpl Serialize for Submission
impl Serialize for Submission
Auto Trait Implementations
impl RefUnwindSafe for Submission
impl Send for Submission
impl Sync for Submission
impl Unpin for Submission
impl UnwindSafe for Submission
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more