pub struct ProvidedCapability {
pub description: String,
pub schema: Option<Value>,
}Expand description
Capability provider declaration (existing v1 model, preserved verbatim).
Fields§
§description: String§schema: Option<Value>Trait Implementations§
Source§impl Clone for ProvidedCapability
impl Clone for ProvidedCapability
Source§fn clone(&self) -> ProvidedCapability
fn clone(&self) -> ProvidedCapability
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 ProvidedCapability
impl Debug for ProvidedCapability
Source§impl<'de> Deserialize<'de> for ProvidedCapability
impl<'de> Deserialize<'de> for ProvidedCapability
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 ProvidedCapability
impl RefUnwindSafe for ProvidedCapability
impl Send for ProvidedCapability
impl Sync for ProvidedCapability
impl Unpin for ProvidedCapability
impl UnsafeUnpin for ProvidedCapability
impl UnwindSafe for ProvidedCapability
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