pub struct CapabilityLockEntry {
pub capability_type: CapabilityType,
pub version: String,
pub version_scheme: VersionScheme,
pub description: String,
pub source: CapabilitySource,
pub targets: BTreeMap<String, TargetLockEntry>,
pub implementation: Option<ImplementationConfig>,
pub parameters: Option<Value>,
pub server: Option<McpServerConfig>,
}Fields§
§capability_type: CapabilityType§version: StringThe capability’s own version: a declared manifest version, or the
commit that was installed when nothing better exists. Which one is
recorded in version_scheme, never guessed from the string.
version_scheme: VersionScheme§description: String§source: CapabilitySourceWhere this capability came from. One typed value, so every lifecycle
verb dispatches on match instead of comparing strings.
targets: BTreeMap<String, TargetLockEntry>§implementation: Option<ImplementationConfig>Cached from the manifest at install/update time, the same way
description is: after install, only the files a manifest declares
get copied to disk, tuff.toml itself does not, so this is the only
durable record of how a tool is invoked. Consumed by the generated
capability-index skill (RFC-103 tier 1).
parameters: Option<Value>§server: Option<McpServerConfig>Trait Implementations§
Source§impl Clone for CapabilityLockEntry
impl Clone for CapabilityLockEntry
Source§impl Debug for CapabilityLockEntry
impl Debug for CapabilityLockEntry
Source§impl<'de> Deserialize<'de> for CapabilityLockEntry
impl<'de> Deserialize<'de> for CapabilityLockEntry
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
Auto Trait Implementations§
impl Forget for CapabilityLockEntry
impl Freeze for CapabilityLockEntrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, TargetLockEntry> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, TargetLockEntry)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, EnvRef> is !null: Freeze,
PhantomData<Box<(String, EnvRef)>>: Freeze,
*const LeafNode<String, HeaderRef> is !null: Freeze,
PhantomData<Box<(String, HeaderRef)>>: Freeze,
impl Move for CapabilityLockEntry
impl RefUnwindSafe for CapabilityLockEntry
impl Send for CapabilityLockEntrywhere
RawVecInner: Send,
NodeRef<Owned, String, TargetLockEntry, LeafOrInternal>: Send,
BoxRaw<(String, TargetLockEntry)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, EnvRef, LeafOrInternal>: Send,
BoxRaw<(String, EnvRef)>: Send,
NodeRef<Owned, String, HeaderRef, LeafOrInternal>: Send,
BoxRaw<(String, HeaderRef)>: Send,
impl Sync for CapabilityLockEntrywhere
RawVecInner: Sync,
NodeRef<Owned, String, TargetLockEntry, LeafOrInternal>: Sync,
BoxRaw<(String, TargetLockEntry)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, EnvRef, LeafOrInternal>: Sync,
BoxRaw<(String, EnvRef)>: Sync,
NodeRef<Owned, String, HeaderRef, LeafOrInternal>: Sync,
BoxRaw<(String, HeaderRef)>: Sync,
impl Unpin for CapabilityLockEntrywhere
*const u8 is !null: Unpin,
*const LeafNode<String, TargetLockEntry> is !null: Unpin,
Box<(String, TargetLockEntry)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, EnvRef> is !null: Unpin,
Box<(String, EnvRef)>: Unpin,
*const LeafNode<String, HeaderRef> is !null: Unpin,
Box<(String, HeaderRef)>: Unpin,
impl UnsafeUnpin for CapabilityLockEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, TargetLockEntry> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, TargetLockEntry)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, EnvRef> is !null: UnsafeUnpin,
PhantomData<Box<(String, EnvRef)>>: UnsafeUnpin,
*const LeafNode<String, HeaderRef> is !null: UnsafeUnpin,
PhantomData<Box<(String, HeaderRef)>>: UnsafeUnpin,
impl UnwindSafe for CapabilityLockEntrywhere
RawVecInner: UnwindSafe,
BTreeMap<String, TargetLockEntry>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, EnvRef>: UnwindSafe,
BTreeMap<String, HeaderRef>: UnwindSafe,
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