[][src]Trait location_history::LocationsExt

pub trait LocationsExt {
    fn average_time(&self) -> i64;
fn find_closest(&self, time: NaiveDateTime) -> Option<Location>;
fn filter_outliers(self) -> Locations; }

methods used for locations

Required methods

fn average_time(&self) -> i64

calculate average time between locations

fn find_closest(&self, time: NaiveDateTime) -> Option<Location>

find the closest Location to a datetime

fn filter_outliers(self) -> Locations

remove locations that are offset more than 300km/h from last location

Loading content...

Implementors

impl LocationsExt for Locations[src]

Loading content...