pub struct ToolPackToolSnapshot {Show 14 fields
pub capability_id: CapabilityId,
pub canonical_tool_name: CanonicalToolName,
pub namespace: CapabilityNamespace,
pub schema_ref: PackageSidecarRef,
pub executor_ref: ExecutorRef,
pub policy_refs: Vec<PolicyRef>,
pub required_permissions: Vec<CapabilityPermission>,
pub effect_class: EffectClass,
pub risk_class: RiskClass,
pub redaction_policy_ref: PolicyRef,
pub timeout_ms: u64,
pub cancellation: String,
pub reconciliation: String,
pub privacy: PrivacyClass,
}Expand description
Describes the tool pack tool snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§capability_id: CapabilityIdStable capability identifier used for package projection and executable routing.
canonical_tool_name: CanonicalToolNameCanonical tool name used by this record or request.
namespace: CapabilityNamespaceNamespace that groups this capability or identifier. Use it to avoid collisions between packages, hosts, and extensions.
schema_ref: PackageSidecarRefTyped schema ref reference. Resolving or executing it is a separate policy-gated step.
executor_ref: ExecutorRefTyped executor ref reference. Resolving or executing it is a separate policy-gated step.
policy_refs: Vec<PolicyRef>Policy references that govern admission, projection, execution, or delivery.
required_permissions: Vec<CapabilityPermission>Collection of required permissions values. Ordering and membership should be treated as part of the serialized contract when relevant.
effect_class: EffectClassClassification value for effect class. Policy and projection paths use it for finite routing decisions.
risk_class: RiskClassRisk classification for the operation or capability. Policy uses it to decide whether approval, sandboxing, or denial is required.
redaction_policy_ref: PolicyRefTyped redaction policy ref reference. Resolving or executing it is a separate policy-gated step.
timeout_ms: u64Timeout budget in milliseconds for the requested operation.
cancellation: StringCancellation used by this record or request.
reconciliation: StringReconciliation used by this record or request.
privacy: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
Trait Implementations§
Source§impl Clone for ToolPackToolSnapshot
impl Clone for ToolPackToolSnapshot
Source§fn clone(&self) -> ToolPackToolSnapshot
fn clone(&self) -> ToolPackToolSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ToolPackToolSnapshot
impl Debug for ToolPackToolSnapshot
Source§impl<'de> Deserialize<'de> for ToolPackToolSnapshot
impl<'de> Deserialize<'de> for ToolPackToolSnapshot
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>,
Source§impl PartialEq for ToolPackToolSnapshot
impl PartialEq for ToolPackToolSnapshot
Source§fn eq(&self, other: &ToolPackToolSnapshot) -> bool
fn eq(&self, other: &ToolPackToolSnapshot) -> bool
self and other values to be equal, and is used by ==.