pub struct CandidateInfo {
pub netelement_id: String,
pub distance: f64,
pub heading_difference: Option<f64>,
pub distance_probability: f64,
pub heading_probability: Option<f64>,
pub combined_probability: f64,
pub status: String,
pub projected_lat: f64,
pub projected_lon: f64,
}Expand description
Information about a single candidate netelement
Fields§
§netelement_id: StringNetelement ID
distance: f64Distance from GNSS position to netelement (meters)
heading_difference: Option<f64>Heading difference (degrees)
distance_probability: f64Distance-based probability component
heading_probability: Option<f64>Heading-based probability component
combined_probability: f64Combined probability
status: StringWhy this candidate was included or excluded
projected_lat: f64Projected point latitude (WGS84)
projected_lon: f64Projected point longitude (WGS84)
Trait Implementations§
Source§impl Clone for CandidateInfo
impl Clone for CandidateInfo
Source§fn clone(&self) -> CandidateInfo
fn clone(&self) -> CandidateInfo
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 CandidateInfo
impl Debug for CandidateInfo
Source§impl<'de> Deserialize<'de> for CandidateInfo
impl<'de> Deserialize<'de> for CandidateInfo
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 CandidateInfo
impl RefUnwindSafe for CandidateInfo
impl Send for CandidateInfo
impl Sync for CandidateInfo
impl Unpin for CandidateInfo
impl UnsafeUnpin for CandidateInfo
impl UnwindSafe for CandidateInfo
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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