pub struct LdpCapability {
pub name: String,
pub description: Option<String>,
pub input_schema: Option<Value>,
pub output_schema: Option<Value>,
pub quality: Option<QualityMetrics>,
pub domains: Vec<String>,
}Expand description
An LDP capability — a skill with quality/latency/cost metadata.
Fields§
§name: StringCapability name (e.g. “code-review”, “mathematical-reasoning”).
description: Option<String>Human-readable description.
input_schema: Option<Value>Input schema (JSON Schema).
output_schema: Option<Value>Output schema (JSON Schema).
quality: Option<QualityMetrics>Quality and performance metrics for this capability.
domains: Vec<String>Domains this capability applies to (e.g. [“rust”, “python”]).
Trait Implementations§
Source§impl Clone for LdpCapability
impl Clone for LdpCapability
Source§fn clone(&self) -> LdpCapability
fn clone(&self) -> LdpCapability
Returns a duplicate of the value. Read more
1.0.0 · 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 LdpCapability
impl Debug for LdpCapability
Source§impl<'de> Deserialize<'de> for LdpCapability
impl<'de> Deserialize<'de> for LdpCapability
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 LdpCapability
impl RefUnwindSafe for LdpCapability
impl Send for LdpCapability
impl Sync for LdpCapability
impl Unpin for LdpCapability
impl UnsafeUnpin for LdpCapability
impl UnwindSafe for LdpCapability
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