pub enum McpToolAllowedTools {
Array(Vec<String>),
_1(McpToolAllowedTools1),
}
Expand description
List of allowed tool names or a filter object.
Variants§
Array(Vec<String>)
A string array of allowed tool names
_1(McpToolAllowedTools1)
A filter object to specify which tools are allowed.
Trait Implementations§
Source§impl Clone for McpToolAllowedTools
impl Clone for McpToolAllowedTools
Source§fn clone(&self) -> McpToolAllowedTools
fn clone(&self) -> McpToolAllowedTools
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 McpToolAllowedTools
impl Debug for McpToolAllowedTools
Source§impl<'de> Deserialize<'de> for McpToolAllowedTools
impl<'de> Deserialize<'de> for McpToolAllowedTools
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 McpToolAllowedTools
impl PartialEq for McpToolAllowedTools
Source§impl Serialize for McpToolAllowedTools
impl Serialize for McpToolAllowedTools
impl StructuralPartialEq for McpToolAllowedTools
Auto Trait Implementations§
impl Freeze for McpToolAllowedTools
impl RefUnwindSafe for McpToolAllowedTools
impl Send for McpToolAllowedTools
impl Sync for McpToolAllowedTools
impl Unpin for McpToolAllowedTools
impl UnwindSafe for McpToolAllowedTools
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