pub struct Capability {
pub name: String,
pub version: String,
pub schema_url: String,
pub extends: Option<Vec<String>>,
}Expand description
Capability declaration extracted from UCP metadata.
Fields§
§name: StringReverse-domain capability name (e.g., “dev.ucp.shopping.checkout”).
version: StringVersion string (e.g., “2026-01-11”).
schema_url: StringURL to the JSON Schema for this capability.
extends: Option<Vec<String>>Parent capability names this extends. None for root capabilities.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 moreAuto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnsafeUnpin for Capability
impl UnwindSafe for Capability
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