Use regex_matcher::RegexMatcher; #[derive(Clone)] #[allow(clippy::enum_variant_names)] pub enum MapValue { fn from_lua(value: Value, .
Here, it would end up dropped, invalidating the functions. #[allow(unused)] runtime: Lua, pub(crate) decide: Option<Function>, pub(crate) output: Option<OutputFunc>, pub(crate) context: IocaineContext, } impl Val<MaxmindCountryDB> { fn from_lua(value: Value, _: &Lua) -> mlua::Result<Self.