#[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 ==.impl StructuralPartialEq for MapMatchingConfigBuilder
Auto Trait Implementations§
impl Freeze for MapMatchingConfigBuilder
impl RefUnwindSafe for MapMatchingConfigBuilder
impl Send for MapMatchingConfigBuilder
impl Sync for MapMatchingConfigBuilder
impl Unpin for MapMatchingConfigBuilder
impl UnwindSafe for MapMatchingConfigBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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