pub struct ApiToolCall {
pub id: String,
pub tool_type: String,
pub function: ApiFunctionCall,
}Fields§
§id: String§tool_type: String§function: ApiFunctionCallTrait Implementations§
Source§impl Clone for ApiToolCall
impl Clone for ApiToolCall
Source§fn clone(&self) -> ApiToolCall
fn clone(&self) -> ApiToolCall
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 ApiToolCall
impl Debug for ApiToolCall
Source§impl<'de> Deserialize<'de> for ApiToolCall
impl<'de> Deserialize<'de> for ApiToolCall
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
Source§impl PartialEq for ApiToolCall
impl PartialEq for ApiToolCall
Source§fn eq(&self, other: &ApiToolCall) -> bool
fn eq(&self, other: &ApiToolCall) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiToolCall
impl Serialize for ApiToolCall
impl StructuralPartialEq for ApiToolCall
Auto Trait Implementations§
impl Freeze for ApiToolCall
impl RefUnwindSafe for ApiToolCall
impl Send for ApiToolCall
impl Sync for ApiToolCall
impl Unpin for ApiToolCall
impl UnsafeUnpin for ApiToolCall
impl UnwindSafe for ApiToolCall
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