= Arc<RwLock<Vector>>; #[derive(Debug, Clone, Default, Serialize, PartialEq)] #[serde(rename_all = "kebab-case")] #[non_exhaustive.

15, "interval": "5m", "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, |v| runtime.to_value(&v).map(Some), ) } fn serialize_as<S, E: std::fmt::Display>( runtime: &Lua, v: &LuaValue, format: &str, parser: P) -> Option<Val<MapValue>> { raw_get(m, key).map(Val) } fn decide(&self, request: SharedRequest) -> Result<String>; /// Return whether the loaded script is capable of producing output.