Function vector::event::lua::util::table_to_timestamp

source ·
pub fn table_to_timestamp(t: Table) -> Result<DateTime<Utc>, Error>
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.