pub struct RealtimeFunctionTool {
pub name: String,
pub description: String,
pub parameters: Value,
}Available on crate feature
realtime only.Fields§
§name: StringThe name of the function.
description: StringThe description of the function, including guidance on when and how to call it, and guidance about what to tell the user when calling (if anything).
parameters: ValueParameters of the function in JSON Schema.
Trait Implementations§
Source§impl Clone for RealtimeFunctionTool
impl Clone for RealtimeFunctionTool
Source§fn clone(&self) -> RealtimeFunctionTool
fn clone(&self) -> RealtimeFunctionTool
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 RealtimeFunctionTool
impl Debug for RealtimeFunctionTool
Source§impl<'de> Deserialize<'de> for RealtimeFunctionTool
impl<'de> Deserialize<'de> for RealtimeFunctionTool
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
Auto Trait Implementations§
impl Freeze for RealtimeFunctionTool
impl RefUnwindSafe for RealtimeFunctionTool
impl Send for RealtimeFunctionTool
impl Sync for RealtimeFunctionTool
impl Unpin for RealtimeFunctionTool
impl UnwindSafe for RealtimeFunctionTool
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