pub struct CapabilityLockEntry {
pub capability_type: CapabilityType,
pub installed_version: String,
pub description: String,
pub source_path: String,
pub targets: BTreeMap<String, TargetLockEntry>,
pub source: Option<SourceMetadata>,
pub scope: String,
pub pack: Option<PackProvenance>,
pub implementation: Option<ImplementationConfig>,
pub parameters: Option<Value>,
pub workflow: Option<WorkflowConfig>,
pub server: Option<McpServerConfig>,
}Fields§
§capability_type: CapabilityType§installed_version: String§description: String§source_path: String§targets: BTreeMap<String, TargetLockEntry>§source: Option<SourceMetadata>§scope: String§pack: Option<PackProvenance>§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>§workflow: Option<WorkflowConfig>Same rationale as implementation/parameters: a workflow’s
requires list lives only in its manifest, which isn’t copied to the
installed target directory.
server: Option<McpServerConfig>Trait Implementations§
Source§impl Clone for CapabilityLockEntry
impl Clone for CapabilityLockEntry
Source§fn clone(&self) -> CapabilityLockEntry
fn clone(&self) -> CapabilityLockEntry
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 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