Expand description
UCAN-lite payload types.
Decoded from a JWT compact form by crate::ucan::parse_jwt. Pure
data — no behaviour, no allocations beyond the strings these fields
own.
Spec: docs/archive/superpowers/specs/2026-05-11-sp-capability-v2-design.md §4.1, §4.5, §5.1
Structs§
- Ucan
Capability - UCAN capability inside
payload.args— a flat list of ATD capability strings (records:read,fs.write, …) plus optional resource bindings (e.g.{"patient": "Patient/X"}). - Ucan
Header - JWT header — the part before the first
.in the compact form. - Ucan
Payload - UCAN payload — the middle segment of the JWT compact form.