pub struct HarmonyToolCall {
pub name: String,
pub arguments_json: String,
}Expand description
A validated function call emitted through the Harmony commentary channel.
Fields§
§name: String§arguments_json: StringThe original JSON object text, with only surrounding whitespace removed.
Trait Implementations§
Source§impl Clone for HarmonyToolCall
impl Clone for HarmonyToolCall
Source§fn clone(&self) -> HarmonyToolCall
fn clone(&self) -> HarmonyToolCall
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 HarmonyToolCall
impl Debug for HarmonyToolCall
Source§impl<'de> Deserialize<'de> for HarmonyToolCall
impl<'de> Deserialize<'de> for HarmonyToolCall
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 HarmonyToolCall
Source§impl PartialEq for HarmonyToolCall
impl PartialEq for HarmonyToolCall
Source§impl Serialize for HarmonyToolCall
impl Serialize for HarmonyToolCall
impl StructuralPartialEq for HarmonyToolCall
Auto Trait Implementations§
impl Freeze for HarmonyToolCall
impl RefUnwindSafe for HarmonyToolCall
impl Send for HarmonyToolCall
impl Sync for HarmonyToolCall
impl Unpin for HarmonyToolCall
impl UnsafeUnpin for HarmonyToolCall
impl UnwindSafe for HarmonyToolCall
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