#[contract]Expand description
Mark a Rust DTO as a Phoenix input, resource, page, or shared contract.
The attribute is intentionally representation-neutral. The Vite contract exporter reads the Rust declaration and applies Serde’s wire rules.
#[contract]Mark a Rust DTO as a Phoenix input, resource, page, or shared contract.
The attribute is intentionally representation-neutral. The Vite contract exporter reads the Rust declaration and applies Serde’s wire rules.