use fluvio_smartmodule::{smartmodule, SmartOpt, Record, RecordData, Result}; #[derive(Default, SmartOpt)] pub struct ArrayOpt { key: String, } #[smartmodule(array_map, params)] pub fn my_array_map( _record: &Record, _opt: &ArrayOpt, ) -> Result, RecordData)>> { unimplemented!() } fn main() {}