pub struct ProviderToolSpec {
pub name: String,
pub description: String,
pub parameters: Value,
}Expand description
A tool specification in provider-facing format (parameters as a parsed JSON value).
Fields§
§name: String§description: String§parameters: ValueTrait Implementations§
Source§impl Clone for ProviderToolSpec
impl Clone for ProviderToolSpec
Source§fn clone(&self) -> ProviderToolSpec
fn clone(&self) -> ProviderToolSpec
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 moreAuto Trait Implementations§
impl Freeze for ProviderToolSpec
impl RefUnwindSafe for ProviderToolSpec
impl Send for ProviderToolSpec
impl Sync for ProviderToolSpec
impl Unpin for ProviderToolSpec
impl UnsafeUnpin for ProviderToolSpec
impl UnwindSafe for ProviderToolSpec
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