pub struct AssembledToolCall {
pub choice_index: u64,
pub tool_index: u64,
pub id: String,
pub name: String,
pub arguments: String,
}Fields§
§choice_index: u64§tool_index: u64§id: String§name: String§arguments: StringImplementations§
Source§impl AssembledToolCall
impl AssembledToolCall
pub fn arguments_json(&self) -> Result<Value, Error>
Trait Implementations§
Source§impl Clone for AssembledToolCall
impl Clone for AssembledToolCall
Source§fn clone(&self) -> AssembledToolCall
fn clone(&self) -> AssembledToolCall
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 AssembledToolCall
impl Debug for AssembledToolCall
Source§impl<'de> Deserialize<'de> for AssembledToolCall
impl<'de> Deserialize<'de> for AssembledToolCall
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 AssembledToolCall
Source§impl PartialEq for AssembledToolCall
impl PartialEq for AssembledToolCall
Source§impl Serialize for AssembledToolCall
impl Serialize for AssembledToolCall
impl StructuralPartialEq for AssembledToolCall
Auto Trait Implementations§
impl Freeze for AssembledToolCall
impl RefUnwindSafe for AssembledToolCall
impl Send for AssembledToolCall
impl Sync for AssembledToolCall
impl Unpin for AssembledToolCall
impl UnsafeUnpin for AssembledToolCall
impl UnwindSafe for AssembledToolCall
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