pub struct MatchedPoint {
pub coordinate: Coordinate,
pub confidence: Option<f64>,
pub road_name: Option<String>,
}Expand description
A matched point from route matching.
Fields§
§coordinate: CoordinateThe matched/snapped coordinate on the road network
confidence: Option<f64>Confidence score for this match (0.0-1.0)
road_name: Option<String>Matched road name (if available)
Trait Implementations§
Source§impl Clone for MatchedPoint
impl Clone for MatchedPoint
Source§fn clone(&self) -> MatchedPoint
fn clone(&self) -> MatchedPoint
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 MatchedPoint
impl Debug for MatchedPoint
Source§impl<'de> Deserialize<'de> for MatchedPoint
impl<'de> Deserialize<'de> for MatchedPoint
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 MatchedPoint
impl RefUnwindSafe for MatchedPoint
impl Send for MatchedPoint
impl Sync for MatchedPoint
impl Unpin for MatchedPoint
impl UnsafeUnpin for MatchedPoint
impl UnwindSafe for MatchedPoint
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