pub enum McpType {
Tool,
Resource,
Skip,
}Expand description
MCP component type that an OpenAPI operation maps to.
Variants§
Tool
Map to MCP tool (callable operation).
Resource
Map to MCP resource (readable content).
Skip
Skip this operation (don’t expose via MCP).
Trait Implementations§
impl Copy for McpType
impl Eq for McpType
impl StructuralPartialEq for McpType
Auto Trait Implementations§
impl Freeze for McpType
impl RefUnwindSafe for McpType
impl Send for McpType
impl Sync for McpType
impl Unpin for McpType
impl UnsafeUnpin for McpType
impl UnwindSafe for McpType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.