pub struct SkillRecord {
pub id: ExtensionId,
pub match_kind: String,
pub invocation: String,
pub requires: Vec<SkillRequire>,
pub args: Vec<SkillArg>,
pub expands_to: String,
pub catalog_warning: Option<String>,
pub description: Option<String>,
pub examples: Vec<String>,
pub extends: Option<ExtensionId>,
pub source: SkillSource,
}Expand description
One catalog / help record for a resolved extension (REQ-0132).
Fields§
§id: ExtensionIdExtension id.
match_kind: StringHuman match DSL (prefix: compose render, prefix+suffix: md .csv).
invocation: StringCopy-paste invocation pattern, including declared flags.
requires: Vec<SkillRequire>Required binaries and whether each is on PATH.
args: Vec<SkillArg>Declared {arg:*} flags.
expands_to: StringExpand command type from inline JSON, command_type, or file contents.
catalog_warning: Option<String>Present when expands_to was inferred or command_from_file was unreadable.
description: Option<String>One-line agent-facing summary from the registry, if present.
examples: Vec<String>Copy-paste example lines.
extends: Option<ExtensionId>Parent extension id when extends is set; otherwise null on the wire.
source: SkillSourceshipped defaults or project .wyvern/extensions.json.
Trait Implementations§
Source§impl Clone for SkillRecord
impl Clone for SkillRecord
Source§fn clone(&self) -> SkillRecord
fn clone(&self) -> SkillRecord
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 SkillRecord
impl Debug for SkillRecord
impl Eq for SkillRecord
Source§impl PartialEq for SkillRecord
impl PartialEq for SkillRecord
Source§impl Serialize for SkillRecord
impl Serialize for SkillRecord
impl StructuralPartialEq for SkillRecord
Auto Trait Implementations§
impl Freeze for SkillRecord
impl RefUnwindSafe for SkillRecord
impl Send for SkillRecord
impl Sync for SkillRecord
impl Unpin for SkillRecord
impl UnsafeUnpin for SkillRecord
impl UnwindSafe for SkillRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.