MCPcopy Create free account
hub / github.com/biblius/validify / derive_payload

Function derive_payload

validify_derive/src/lib.rs:260–263  ·  view source on GitHub ↗
(input: proc_macro::TokenStream)

Source from the content-addressed store, hash-verified

258#[proc_macro_derive(Payload)]
259#[proc_macro_error]
260pub fn derive_payload(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
261 let input = syn::parse(input).unwrap();
262 payload::r#impl::impl_payload(&input).into()
263}
264
265struct SchemaErr {
266 code: LitStr,

Callers

nothing calls this directly

Calls 1

impl_payloadFunction · 0.85

Tested by

no test coverage detected