pub fn event_time_or_now(event_time: Option<i64>) -> Time
Expand description

Returns the event time if it exists, otherwise returns the current time.

§Parameters

  • event_time: The event time from an InputReport.