pub struct SkillProviderDescriptor {
pub argument_hint: Option<String>,
pub description: String,
pub disable_model_invocation: Option<bool>,
pub name: String,
pub user_invocable: Option<bool>,
}Expand description
Catalog-only metadata for one SDK-provided skill. The complete SKILL.md is fetched separately and lazily.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§argument_hint: Option<String>Optional freeform argument hint used by slash-command catalogs.
description: StringDescription used in skill catalogs without fetching content.
disable_model_invocation: Option<bool>Whether model invocation is disabled. Defaults to false.
name: StringInvocation and display name.
user_invocable: Option<bool>Whether users may invoke the skill directly. Defaults to true.
Trait Implementations§
Source§impl Clone for SkillProviderDescriptor
impl Clone for SkillProviderDescriptor
Source§fn clone(&self) -> SkillProviderDescriptor
fn clone(&self) -> SkillProviderDescriptor
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 SkillProviderDescriptor
impl Debug for SkillProviderDescriptor
Source§impl Default for SkillProviderDescriptor
impl Default for SkillProviderDescriptor
Source§fn default() -> SkillProviderDescriptor
fn default() -> SkillProviderDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillProviderDescriptor
impl<'de> Deserialize<'de> for SkillProviderDescriptor
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 SkillProviderDescriptor
impl RefUnwindSafe for SkillProviderDescriptor
impl Send for SkillProviderDescriptor
impl Sync for SkillProviderDescriptor
impl Unpin for SkillProviderDescriptor
impl UnsafeUnpin for SkillProviderDescriptor
impl UnwindSafe for SkillProviderDescriptor
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