#[non_exhaustive]pub struct SkillCatalogEntry {
pub selector: String,
pub display_name: String,
pub title: Option<String>,
pub description: String,
pub argument_hint: Option<String>,
pub source: SkillSource,
pub plugin_id: Option<String>,
}Expand description
One typed-invocable shortcut spelling. A plugin skill may contribute two
rows: its bare-name winner and its qualified <pluginId>:<skillId> form.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.selector: StringThe shortcut token without the leading slash — bare (fix-bug) or
plugin-qualified (acme:deploy) — the exact value a skill input
part submits. Unique within one response.
display_name: StringThe skill display name the first-party palette shows.
title: Option<String>The skill’s declared human-readable name, for clients to show where
people read the skill’s name; absent when the skill declares none. The
palette keeps showing displayName.
description: StringThe skill’s palette summary.
argument_hint: Option<String>Present when the skill declares an argument hint.
source: SkillSourceWhere the skill comes from.
plugin_id: Option<String>The owning plugin’s identifier; present when source is plugin.
Trait Implementations§
Source§impl Clone for SkillCatalogEntry
impl Clone for SkillCatalogEntry
Source§impl Debug for SkillCatalogEntry
impl Debug for SkillCatalogEntry
Source§impl<'de> Deserialize<'de> for SkillCatalogEntry
impl<'de> Deserialize<'de> for SkillCatalogEntry
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
impl Eq for SkillCatalogEntry
Source§impl PartialEq for SkillCatalogEntry
impl PartialEq for SkillCatalogEntry
Source§impl Serialize for SkillCatalogEntry
impl Serialize for SkillCatalogEntry
impl StructuralPartialEq for SkillCatalogEntry
Auto Trait Implementations§
impl Forget for SkillCatalogEntry
impl Freeze for SkillCatalogEntry
impl Move for SkillCatalogEntry
impl RefUnwindSafe for SkillCatalogEntry
impl Send for SkillCatalogEntry
impl Sync for SkillCatalogEntry
impl Unpin for SkillCatalogEntry
impl UnsafeUnpin for SkillCatalogEntry
impl UnwindSafe for SkillCatalogEntry
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