pub struct MapModelConfig {
pub tolerance: Option<DistanceTolerance>,
pub spatial_index_type: Option<SpatialIndexType>,
pub matching_type: Option<Vec<String>>,
pub geometry: OneOrMany<MapModelGeometryConfig>,
pub queries_without_destinations: bool,
}Fields§
§tolerance: Option<DistanceTolerance>distance from coordinate to the nearest vertex required for map matching
spatial_index_type: Option<SpatialIndexType>geometries to place in the spatial index used for map matching.
matching_type: Option<Vec<String>>the [MatchingType]s supported
geometry: OneOrMany<MapModelGeometryConfig>for each edge list, geometry configuration
queries_without_destinations: boolallow source-only queries for shortest path tree outputs
Trait Implementations§
Source§impl Clone for MapModelConfig
impl Clone for MapModelConfig
Source§fn clone(&self) -> MapModelConfig
fn clone(&self) -> MapModelConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MapModelConfig
impl Debug for MapModelConfig
Source§impl Default for MapModelConfig
impl Default for MapModelConfig
Source§impl<'de> Deserialize<'de> for MapModelConfig
impl<'de> Deserialize<'de> for MapModelConfig
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
Source§impl Serialize for MapModelConfig
impl Serialize for MapModelConfig
Auto Trait Implementations§
impl Freeze for MapModelConfig
impl RefUnwindSafe for MapModelConfig
impl Send for MapModelConfig
impl Sync for MapModelConfig
impl Unpin for MapModelConfig
impl UnsafeUnpin for MapModelConfig
impl UnwindSafe for MapModelConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more