Function vector::event::lua::util::timestamp_to_table

source ·
pub fn timestamp_to_table(lua: &Lua, ts: DateTime<Utc>) -> Result<Table, Error>
Expand description

Convert a DateTime<Utc> to a LuaTable

§Errors

This function will fail insertion into the table fails.