pub enum ClapMcpSerializeScope {
Tool,
Args(Vec<String>),
}Variants§
Tool
All invocations of the tool share one lock topic.
Args(Vec<String>)
Lock topic includes canonical MCP JSON values for the listed arg ids.
Trait Implementations§
Source§impl Clone for ClapMcpSerializeScope
impl Clone for ClapMcpSerializeScope
Source§fn clone(&self) -> ClapMcpSerializeScope
fn clone(&self) -> ClapMcpSerializeScope
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 moreSource§impl Debug for ClapMcpSerializeScope
impl Debug for ClapMcpSerializeScope
impl Eq for ClapMcpSerializeScope
Source§impl PartialEq for ClapMcpSerializeScope
impl PartialEq for ClapMcpSerializeScope
Source§fn eq(&self, other: &ClapMcpSerializeScope) -> bool
fn eq(&self, other: &ClapMcpSerializeScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClapMcpSerializeScope
Auto Trait Implementations§
impl Freeze for ClapMcpSerializeScope
impl RefUnwindSafe for ClapMcpSerializeScope
impl Send for ClapMcpSerializeScope
impl Sync for ClapMcpSerializeScope
impl Unpin for ClapMcpSerializeScope
impl UnsafeUnpin for ClapMcpSerializeScope
impl UnwindSafe for ClapMcpSerializeScope
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.