#[autoserde]
Expand description
Automatically serializes/deserializes properties for a template. Perseus handles your templates’ properties as String
s under the
hood for both simplicity and to avoid bundle size increases from excessive monomorphization. This macro aims to prevent the need for
manually serializing and deserializing everything! This takes the type of function that it’s working on, which must be one of the
following:
build_state
(serializes return type)request_state
(serializes return type)set_headers
(deserializes parameter)amalgamate_states
(serializes return type, you’ll still need to deserializes fromStates
manually)