pub struct RealtimeFunctionTool {
pub description: Option<String>,
pub name: Option<String>,
pub parameters: Option<Value>,
pub type_: Option<String>,
}Fields§
§description: Option<String>The description of the function, including guidance on when and how to call it,
name: Option<String>The name of the function.
parameters: Option<Value>Parameters of the function in JSON Schema.
type_: Option<String>The type of the tool, i.e. function.
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 (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 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 UnsafeUnpin 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