pub enum McpInputShape {
Unsupported,
Scalar(McpPrimitiveKind),
List(McpPrimitiveKind),
Set(McpPrimitiveKind),
Range(McpRangeBoundKind),
Object,
}Expand description
Framework-neutral shape of structured MCP input accepted by a component.
Variants§
Unsupported
The component does not expose model-controlled MCP input.
Scalar(McpPrimitiveKind)
A single primitive value.
List(McpPrimitiveKind)
An ordered array of primitive values.
Set(McpPrimitiveKind)
A unique array of primitive values.
Range(McpRangeBoundKind)
A range object with min and max bounds.
Object
An object with integration-defined structure.
Implementations§
Trait Implementations§
Source§impl Clone for McpInputShape
impl Clone for McpInputShape
Source§fn clone(&self) -> McpInputShape
fn clone(&self) -> McpInputShape
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 moreimpl Copy for McpInputShape
Source§impl Debug for McpInputShape
impl Debug for McpInputShape
impl Eq for McpInputShape
Source§impl PartialEq for McpInputShape
impl PartialEq for McpInputShape
impl StructuralPartialEq for McpInputShape
Auto Trait Implementations§
impl Freeze for McpInputShape
impl RefUnwindSafe for McpInputShape
impl Send for McpInputShape
impl Sync for McpInputShape
impl Unpin for McpInputShape
impl UnsafeUnpin for McpInputShape
impl UnwindSafe for McpInputShape
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.