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 Freeze for CapabilityLockEntry
impl RefUnwindSafe for CapabilityLockEntry
impl Send for CapabilityLockEntry
impl Sync for CapabilityLockEntry
impl Unpin for CapabilityLockEntry
impl UnsafeUnpin for CapabilityLockEntry
impl UnwindSafe for CapabilityLockEntry
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