pub struct ToolNamespaceConfig {
pub name: String,
pub description: Option<String>,
pub tools: Vec<ToolDescription>,
}
Fields§
§name: String
§description: Option<String>
§tools: Vec<ToolDescription>
Implementations§
Trait Implementations§
Source§impl Clone for ToolNamespaceConfig
impl Clone for ToolNamespaceConfig
Source§fn clone(&self) -> ToolNamespaceConfig
fn clone(&self) -> ToolNamespaceConfig
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 ToolNamespaceConfig
impl Debug for ToolNamespaceConfig
Source§impl<'de> Deserialize<'de> for ToolNamespaceConfig
impl<'de> Deserialize<'de> for ToolNamespaceConfig
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
Source§impl PartialEq for ToolNamespaceConfig
impl PartialEq for ToolNamespaceConfig
Source§impl Serialize for ToolNamespaceConfig
impl Serialize for ToolNamespaceConfig
impl StructuralPartialEq for ToolNamespaceConfig
Auto Trait Implementations§
impl Freeze for ToolNamespaceConfig
impl RefUnwindSafe for ToolNamespaceConfig
impl Send for ToolNamespaceConfig
impl Sync for ToolNamespaceConfig
impl Unpin for ToolNamespaceConfig
impl UnwindSafe for ToolNamespaceConfig
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