pub struct SkillMeta {
pub schema: i64,
pub id: String,
pub name: Option<String>,
pub tags: Option<Vec<String>>,
pub source: Option<SkillSource>,
pub enable: Option<SkillEnable>,
pub bundled: Option<BundledCopy>,
pub extra: Table,
}Fields§
§schema: i64Schema version; always 1.
id: StringSkill id; equals the file name. Identity, not the name.
name: Option<String>Name from the SKILL.md frontmatter.
source: Option<SkillSource>§enable: Option<SkillEnable>§bundled: Option<BundledCopy>The bundled copy Surjection wrote (the Surjection skill for agents, #8).
Marks the skill as bundled on its own, without [source]: 0.5.x
reads an unknown [source] kind as an error but keeps this table.
extra: TableImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkillMeta
impl<'de> Deserialize<'de> for SkillMeta
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
Source§impl JsonSchema for SkillMeta
impl JsonSchema for SkillMeta
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl StoreModel for SkillMeta
impl StoreModel for SkillMeta
Source§const SCHEMA_NAME: &'static str = "skill-meta"
const SCHEMA_NAME: &'static str = "skill-meta"
File stem of the generated JSON Schema:
docs/schema/<NAME>.schema.json.impl StructuralPartialEq for SkillMeta
Auto Trait Implementations§
impl Forget for SkillMeta
impl Freeze for SkillMetawhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for SkillMeta
impl RefUnwindSafe for SkillMeta
impl Send for SkillMeta
impl Sync for SkillMeta
impl Unpin for SkillMeta
impl UnsafeUnpin for SkillMetawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for SkillMeta
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