pub struct JudgeVerdict {
pub value: JudgeValue,
pub reason: String,
pub usage: Option<Usage>,
}Expand description
A judge verdict: the raw value (bool or number) plus the stated reason.
Fields§
§value: JudgeValue§reason: String§usage: Option<Usage>Trait Implementations§
Source§impl Clone for JudgeVerdict
impl Clone for JudgeVerdict
Source§fn clone(&self) -> JudgeVerdict
fn clone(&self) -> JudgeVerdict
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 moreAuto Trait Implementations§
impl Freeze for JudgeVerdict
impl RefUnwindSafe for JudgeVerdict
impl Send for JudgeVerdict
impl Sync for JudgeVerdict
impl Unpin for JudgeVerdict
impl UnsafeUnpin for JudgeVerdict
impl UnwindSafe for JudgeVerdict
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