pub struct CapabilitySpec {
pub name: String,
pub description: String,
pub params_schema: Value,
pub example_params: Value,
pub resource_requirements: ResourceRequirements,
pub security_notes: Vec<String>,
}Expand description
Capability specification for discovery and documentation
Fields§
§name: StringCapability name (e.g., “fs.read.v1”)
description: StringHuman-readable description
params_schema: ValueJSON schema for parameter validation
example_params: ValueExample parameters
resource_requirements: ResourceRequirementsResource requirements and limits
security_notes: Vec<String>Security implications and recommendations
Trait Implementations§
Source§impl Clone for CapabilitySpec
impl Clone for CapabilitySpec
Source§fn clone(&self) -> CapabilitySpec
fn clone(&self) -> CapabilitySpec
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 CapabilitySpec
impl Debug for CapabilitySpec
Source§impl<'de> Deserialize<'de> for CapabilitySpec
impl<'de> Deserialize<'de> for CapabilitySpec
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 CapabilitySpec
impl RefUnwindSafe for CapabilitySpec
impl Send for CapabilitySpec
impl Sync for CapabilitySpec
impl Unpin for CapabilitySpec
impl UnwindSafe for CapabilitySpec
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