pub fn get_bar_interval_ns(bar_type: &BarType) -> UnixNanos
Returns the bar interval as UnixNanos.
UnixNanos
Panics if the aggregation method of the given bar_type is not time based.
bar_type