pub struct MetaSection {
pub spec: Option<String>,
pub version: Option<String>,
pub project: Option<String>,
pub env: Option<String>,
pub description: Option<String>,
pub instructions: Option<String>,
pub homepage: Option<String>,
pub license: Option<String>,
}Fields§
§spec: Option<String>pack spec version. Must be “cstate.toml/v1.0” when present.
version: Option<String>§project: Option<String>Project name. Required — emitters fall back gracefully but this should always be set.
env: Option<String>§description: Option<String>Project-level description for SKILL.md, AGENTS.md, A2A Agent Card, llms.txt.
instructions: Option<String>Build/test/coding convention instructions for AGENTS.md generation. Can be inline text or a path to a markdown file (e.g., “instructions.md”).
homepage: Option<String>Project homepage URL for A2A Agent Card and llms.txt.
license: Option<String>License identifier (e.g., “Apache-2.0”) for SKILL.md compliance.
Trait Implementations§
Source§impl Clone for MetaSection
impl Clone for MetaSection
Source§fn clone(&self) -> MetaSection
fn clone(&self) -> MetaSection
Returns a duplicate of the value. Read more
1.0.0 · 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 MetaSection
impl Debug for MetaSection
Source§impl<'de> Deserialize<'de> for MetaSection
impl<'de> Deserialize<'de> for MetaSection
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 MetaSection
impl RefUnwindSafe for MetaSection
impl Send for MetaSection
impl Sync for MetaSection
impl Unpin for MetaSection
impl UnwindSafe for MetaSection
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