pub struct MatchGraphResponse
pub result: bool,
pub match_score: f32,
pub info: HashMap<String, String>,
The response from the /match/graph endpoint.
Fields
result: boolIndicates a successful solution.
match_score: f32The mean square error calculation representing the map matching score. Values closer to zero are better.
info: HashMap<String, String>Additional information.
Trait Implementations
Source
impl Clone for MatchGraphResponse
Source
fn clone(&self) -> MatchGraphResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource
impl Debug for MatchGraphResponse
Source
impl Default for MatchGraphResponse
Source
fn default() -> MatchGraphResponse
Returns the “default value” for a type. Read more
Source
impl<‘de> Deserialize<‘de> for MatchGraphResponse
Sourcefn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
Deserialize this value from the given Serde deserializer. Read more