pub struct MatchingOptions {
pub transport_mode: Option<TransportMode>,
pub heading: Option<f64>,
pub departure_time: Option<DepartureTime>,
pub avoid: Vec<AvoidType>,
pub provider_extra: Option<Value>,
}Expand description
Options for GPS trace matching to the road network.
Fields§
§transport_mode: Option<TransportMode>Transport mode for matching
heading: Option<f64>Heading angle in degrees (0-360)
departure_time: Option<DepartureTime>Departure time
avoid: Vec<AvoidType>Route restrictions
provider_extra: Option<Value>Provider-specific options (HERE: map_match_radius, route_match, vehicle params; Google: interpolation, snapping)
Trait Implementations§
Source§impl Clone for MatchingOptions
impl Clone for MatchingOptions
Source§fn clone(&self) -> MatchingOptions
fn clone(&self) -> MatchingOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatchingOptions
impl Debug for MatchingOptions
Source§impl Default for MatchingOptions
impl Default for MatchingOptions
Source§fn default() -> MatchingOptions
fn default() -> MatchingOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatchingOptions
impl<'de> Deserialize<'de> for MatchingOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MatchingOptions
impl RefUnwindSafe for MatchingOptions
impl Send for MatchingOptions
impl Sync for MatchingOptions
impl Unpin for MatchingOptions
impl UnsafeUnpin for MatchingOptions
impl UnwindSafe for MatchingOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more