pub struct ReasoningResult {
pub problem: String,
pub solution: String,
pub thought_tree: String,
pub depth: usize,
pub branches: usize,
pub raw_content: String,
}Expand description
Reasoning result from Tree-of-Thought
Fields§
§problem: StringThe original problem
solution: StringThe derived solution
thought_tree: StringFull thought tree output
depth: usizeDepth of reasoning
branches: usizeNumber of branches
raw_content: StringRaw content from server
Trait Implementations§
Source§impl Clone for ReasoningResult
impl Clone for ReasoningResult
Source§fn clone(&self) -> ReasoningResult
fn clone(&self) -> ReasoningResult
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 ReasoningResult
impl Debug for ReasoningResult
Source§impl<'de> Deserialize<'de> for ReasoningResult
impl<'de> Deserialize<'de> for ReasoningResult
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 ReasoningResult
impl RefUnwindSafe for ReasoningResult
impl Send for ReasoningResult
impl Sync for ReasoningResult
impl Unpin for ReasoningResult
impl UnsafeUnpin for ReasoningResult
impl UnwindSafe for ReasoningResult
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