pub struct ParsedHarmonyResponse {
pub reasoning_content: Option<String>,
pub content: String,
pub tool_call: Option<HarmonyToolCall>,
}Expand description
Product-facing terminal result of a complete Harmony model output.
Fields§
§reasoning_content: Option<String>§content: String§tool_call: Option<HarmonyToolCall>Trait Implementations§
Source§impl Clone for ParsedHarmonyResponse
impl Clone for ParsedHarmonyResponse
Source§fn clone(&self) -> ParsedHarmonyResponse
fn clone(&self) -> ParsedHarmonyResponse
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 moreSource§impl Debug for ParsedHarmonyResponse
impl Debug for ParsedHarmonyResponse
Source§impl<'de> Deserialize<'de> for ParsedHarmonyResponse
impl<'de> Deserialize<'de> for ParsedHarmonyResponse
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
impl Eq for ParsedHarmonyResponse
Source§impl PartialEq for ParsedHarmonyResponse
impl PartialEq for ParsedHarmonyResponse
Source§impl Serialize for ParsedHarmonyResponse
impl Serialize for ParsedHarmonyResponse
impl StructuralPartialEq for ParsedHarmonyResponse
Auto Trait Implementations§
impl Freeze for ParsedHarmonyResponse
impl RefUnwindSafe for ParsedHarmonyResponse
impl Send for ParsedHarmonyResponse
impl Sync for ParsedHarmonyResponse
impl Unpin for ParsedHarmonyResponse
impl UnsafeUnpin for ParsedHarmonyResponse
impl UnwindSafe for ParsedHarmonyResponse
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