pub struct McpToolAllowedTools1 {
pub tool_names: Option<Vec<String>>,
}
Expand description
A filter object to specify which tools are allowed.
Fields§
§tool_names: Option<Vec<String>>
List of allowed tool names.
Implementations§
Trait Implementations§
Source§impl Clone for McpToolAllowedTools1
impl Clone for McpToolAllowedTools1
Source§fn clone(&self) -> McpToolAllowedTools1
fn clone(&self) -> McpToolAllowedTools1
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 McpToolAllowedTools1
impl Debug for McpToolAllowedTools1
Source§impl Default for McpToolAllowedTools1
impl Default for McpToolAllowedTools1
Source§fn default() -> McpToolAllowedTools1
fn default() -> McpToolAllowedTools1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpToolAllowedTools1
impl<'de> Deserialize<'de> for McpToolAllowedTools1
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 McpToolAllowedTools1
impl PartialEq for McpToolAllowedTools1
Source§impl Serialize for McpToolAllowedTools1
impl Serialize for McpToolAllowedTools1
impl StructuralPartialEq for McpToolAllowedTools1
Auto Trait Implementations§
impl Freeze for McpToolAllowedTools1
impl RefUnwindSafe for McpToolAllowedTools1
impl Send for McpToolAllowedTools1
impl Sync for McpToolAllowedTools1
impl Unpin for McpToolAllowedTools1
impl UnwindSafe for McpToolAllowedTools1
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