pub struct Skill {
pub manifest: SkillManifest,
pub content_sha256: Option<String>,
pub trust_level: TrustLevel,
pub capabilities_declared: Vec<String>,
pub publisher_signature: Option<String>,
}Expand description
Top-level skill — wraps the manifest with security metadata that lives alongside (but separate from) the publisher-authored fields.
Fields§
§manifest: SkillManifest§content_sha256: Option<String>Computed at install time. Never serialized into the source YAML.
trust_level: TrustLevelSet by the trust store at install time, not by the publisher.
capabilities_declared: Vec<String>Capabilities the skill declares it needs.
publisher_signature: Option<String>DSSE envelope JSON (base64-encoded inside the envelope). None for
unsigned skills — they enter at Sandboxed and stay there.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Skill
impl<'de> Deserialize<'de> for Skill
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 Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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