pub struct MathSolutionOutput {
pub problem: String,
pub reasoning_steps: Vec<String>,
pub final_answer: Option<String>,
pub confidence: f32,
}Expand description
Mathematical solution output with structured steps
Fields§
§problem: String§reasoning_steps: Vec<String>§final_answer: Option<String>§confidence: f32Trait Implementations§
Source§impl Clone for MathSolutionOutput
impl Clone for MathSolutionOutput
Source§fn clone(&self) -> MathSolutionOutput
fn clone(&self) -> MathSolutionOutput
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 MathSolutionOutput
impl Debug for MathSolutionOutput
Source§impl<'de> Deserialize<'de> for MathSolutionOutput
impl<'de> Deserialize<'de> for MathSolutionOutput
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 MathSolutionOutput
impl RefUnwindSafe for MathSolutionOutput
impl Send for MathSolutionOutput
impl Sync for MathSolutionOutput
impl Unpin for MathSolutionOutput
impl UnwindSafe for MathSolutionOutput
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