pub struct AssistantToolsFunction {
pub type: String,
pub function: FunctionObject,
}Fields§
§type: StringThe type of tool being defined: function
function: FunctionObjectTrait Implementations§
Source§impl Clone for AssistantToolsFunction
impl Clone for AssistantToolsFunction
Source§fn clone(&self) -> AssistantToolsFunction
fn clone(&self) -> AssistantToolsFunction
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for AssistantToolsFunction
impl RefUnwindSafe for AssistantToolsFunction
impl Send for AssistantToolsFunction
impl Sync for AssistantToolsFunction
impl Unpin for AssistantToolsFunction
impl UnwindSafe for AssistantToolsFunction
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