#[non_exhaustive]pub struct MapMatchingConfigBuilder { /* private fields */ }
Expand description
A builder for MapMatchingConfig
.
Implementations§
source§impl MapMatchingConfigBuilder
impl MapMatchingConfigBuilder
sourcepub fn id_attribute_name(self, input: impl Into<String>) -> Self
pub fn id_attribute_name(self, input: impl Into<String>) -> Self
The field name for the data that describes the identifier representing a collection of GPS points belonging to an individual trace.
This field is required.sourcepub fn set_id_attribute_name(self, input: Option<String>) -> Self
pub fn set_id_attribute_name(self, input: Option<String>) -> Self
The field name for the data that describes the identifier representing a collection of GPS points belonging to an individual trace.
sourcepub fn get_id_attribute_name(&self) -> &Option<String>
pub fn get_id_attribute_name(&self) -> &Option<String>
The field name for the data that describes the identifier representing a collection of GPS points belonging to an individual trace.
sourcepub fn y_attribute_name(self, input: impl Into<String>) -> Self
pub fn y_attribute_name(self, input: impl Into<String>) -> Self
The name of the Y-attribute
This field is required.sourcepub fn set_y_attribute_name(self, input: Option<String>) -> Self
pub fn set_y_attribute_name(self, input: Option<String>) -> Self
The name of the Y-attribute
sourcepub fn get_y_attribute_name(&self) -> &Option<String>
pub fn get_y_attribute_name(&self) -> &Option<String>
The name of the Y-attribute
sourcepub fn x_attribute_name(self, input: impl Into<String>) -> Self
pub fn x_attribute_name(self, input: impl Into<String>) -> Self
The name of the X-attribute
This field is required.sourcepub fn set_x_attribute_name(self, input: Option<String>) -> Self
pub fn set_x_attribute_name(self, input: Option<String>) -> Self
The name of the X-attribute
sourcepub fn get_x_attribute_name(&self) -> &Option<String>
pub fn get_x_attribute_name(&self) -> &Option<String>
The name of the X-attribute
sourcepub fn timestamp_attribute_name(self, input: impl Into<String>) -> Self
pub fn timestamp_attribute_name(self, input: impl Into<String>) -> Self
The name of the timestamp attribute.
This field is required.sourcepub fn set_timestamp_attribute_name(self, input: Option<String>) -> Self
pub fn set_timestamp_attribute_name(self, input: Option<String>) -> Self
The name of the timestamp attribute.
sourcepub fn get_timestamp_attribute_name(&self) -> &Option<String>
pub fn get_timestamp_attribute_name(&self) -> &Option<String>
The name of the timestamp attribute.
sourcepub fn build(self) -> Result<MapMatchingConfig, BuildError>
pub fn build(self) -> Result<MapMatchingConfig, BuildError>
Consumes the builder and constructs a MapMatchingConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MapMatchingConfigBuilder
impl Clone for MapMatchingConfigBuilder
source§fn clone(&self) -> MapMatchingConfigBuilder
fn clone(&self) -> MapMatchingConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MapMatchingConfigBuilder
impl Debug for MapMatchingConfigBuilder
source§impl Default for MapMatchingConfigBuilder
impl Default for MapMatchingConfigBuilder
source§fn default() -> MapMatchingConfigBuilder
fn default() -> MapMatchingConfigBuilder
source§impl PartialEq for MapMatchingConfigBuilder
impl PartialEq for MapMatchingConfigBuilder
source§fn eq(&self, other: &MapMatchingConfigBuilder) -> bool
fn eq(&self, other: &MapMatchingConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.