pub struct OnSubmissionOutput {
pub success: bool,
pub error_message: Option<String>,
}Expand description
Output from contest type plugin handler.
success: whether the submission was processed without errors (not whether it passed).
error_message: describes the failure reason when success is false.
Fields§
§success: bool§error_message: Option<String>Trait Implementations§
Source§impl Clone for OnSubmissionOutput
impl Clone for OnSubmissionOutput
Source§fn clone(&self) -> OnSubmissionOutput
fn clone(&self) -> OnSubmissionOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 OnSubmissionOutput
impl Debug for OnSubmissionOutput
Source§impl<'de> Deserialize<'de> for OnSubmissionOutput
impl<'de> Deserialize<'de> for OnSubmissionOutput
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 OnSubmissionOutput
impl RefUnwindSafe for OnSubmissionOutput
impl Send for OnSubmissionOutput
impl Sync for OnSubmissionOutput
impl Unpin for OnSubmissionOutput
impl UnsafeUnpin for OnSubmissionOutput
impl UnwindSafe for OnSubmissionOutput
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