1 2 3 4 5 6 7 8 9 10 11 12 13 14
struct AppState; struct Output; #[apigate::map] async fn map_without_input( state: &AppState, ctx: &mut apigate::PartsCtx<'_>, ) -> apigate::MapResult<Output> { let _ = state; let _ = ctx; Ok(Output) } fn main() {}