pub struct JudgeOutput {
pub analysis: String,
pub answer: Box<Answer>,
}Fields§
§analysis: String§answer: Box<Answer>Implementations§
Source§impl JudgeOutput
impl JudgeOutput
pub fn new(analysis: String, answer: Answer) -> JudgeOutput
Trait Implementations§
Source§impl Clone for JudgeOutput
impl Clone for JudgeOutput
Source§fn clone(&self) -> JudgeOutput
fn clone(&self) -> JudgeOutput
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 JudgeOutput
impl Debug for JudgeOutput
Source§impl Default for JudgeOutput
impl Default for JudgeOutput
Source§fn default() -> JudgeOutput
fn default() -> JudgeOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JudgeOutput
impl<'de> Deserialize<'de> for JudgeOutput
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
Source§impl PartialEq for JudgeOutput
impl PartialEq for JudgeOutput
Source§impl Serialize for JudgeOutput
impl Serialize for JudgeOutput
impl StructuralPartialEq for JudgeOutput
Auto Trait Implementations§
impl Freeze for JudgeOutput
impl RefUnwindSafe for JudgeOutput
impl Send for JudgeOutput
impl Sync for JudgeOutput
impl Unpin for JudgeOutput
impl UnsafeUnpin for JudgeOutput
impl UnwindSafe for JudgeOutput
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