use fluvio_smartmodule::{smartmodule, SmartOpt, Record, Result}; #[derive(Default, SmartOpt)] pub struct FilterOpt { attr1: String, attr2: Option, attr3: bool, } #[smartmodule(filter, params)] pub fn my_filter(_record: &Record, _opt: &FilterOpt) -> Result { unimplemented!() } fn main() {}