pub struct RunToolCallObjectFunction {
pub name: String,
pub arguments: String,
}
Expand description
The function definition.
Fields§
§name: String
The name of the function.
arguments: String
The arguments that the model expects you to pass to the function.
Implementations§
Trait Implementations§
Source§impl Clone for RunToolCallObjectFunction
impl Clone for RunToolCallObjectFunction
Source§fn clone(&self) -> RunToolCallObjectFunction
fn clone(&self) -> RunToolCallObjectFunction
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 RunToolCallObjectFunction
impl Debug for RunToolCallObjectFunction
Source§impl<'de> Deserialize<'de> for RunToolCallObjectFunction
impl<'de> Deserialize<'de> for RunToolCallObjectFunction
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 StructuralPartialEq for RunToolCallObjectFunction
Auto Trait Implementations§
impl Freeze for RunToolCallObjectFunction
impl RefUnwindSafe for RunToolCallObjectFunction
impl Send for RunToolCallObjectFunction
impl Sync for RunToolCallObjectFunction
impl Unpin for RunToolCallObjectFunction
impl UnwindSafe for RunToolCallObjectFunction
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