pub struct FunctionToolProviderDetails {
pub template_url: Option<String>,
pub setup_instructions: Option<Vec<ToolTemplateSetup>>,
pub type: TypeTrue,
}
Fields§
§template_url: Option<String>
This is the Template URL or the Snapshot URL corresponding to the Template.
setup_instructions: Option<Vec<ToolTemplateSetup>>
§type: TypeTrue
The type of tool. "function" for Function tool.
Implementations§
Source§impl FunctionToolProviderDetails
impl FunctionToolProviderDetails
pub fn new(type: TypeTrue) -> FunctionToolProviderDetails
Trait Implementations§
Source§impl Clone for FunctionToolProviderDetails
impl Clone for FunctionToolProviderDetails
Source§fn clone(&self) -> FunctionToolProviderDetails
fn clone(&self) -> FunctionToolProviderDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionToolProviderDetails
impl Debug for FunctionToolProviderDetails
Source§impl Default for FunctionToolProviderDetails
impl Default for FunctionToolProviderDetails
Source§fn default() -> FunctionToolProviderDetails
fn default() -> FunctionToolProviderDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionToolProviderDetails
impl<'de> Deserialize<'de> for FunctionToolProviderDetails
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 FunctionToolProviderDetails
Auto Trait Implementations§
impl Freeze for FunctionToolProviderDetails
impl RefUnwindSafe for FunctionToolProviderDetails
impl Send for FunctionToolProviderDetails
impl Sync for FunctionToolProviderDetails
impl Unpin for FunctionToolProviderDetails
impl UnwindSafe for FunctionToolProviderDetails
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