Function vector_core::event::lua::util::table_to_timestamp

source ·
pub fn table_to_timestamp(t: LuaTable) -> LuaResult<DateTime<Utc>>
Expand description

Convert a LuaTable to a DateTime<Utc>

§Errors

This function will fail if the table is malformed.

§Panics

Panics if the resulting timestamp is invalid.