pub struct MatchRecord {
pub match_status: MatchStatus,
pub address_label: String,
pub subaddress_type: Option<String>,
pub floor: Option<String>,
pub building: Option<String>,
pub status: Option<String>,
pub longitude: f64,
pub latitude: f64,
pub id: Uuid,
}Expand description
A MatchRecord reports the match results for a single address compared against a set of
addresses. Designed to plot and diagnose missing and divergent addresses.
Fields§
§match_status: MatchStatusThe match_status field represents the match status of the address.
address_label: StringThe address_label field is the text representation of the subject address.
subaddress_type: Option<String>The subaddress_type field indicates a difference in subaddress type between a subject
address and its match, if present. E.g. “SUITE” does not match “APARTMENT”.
floor: Option<String>The floor field indicates the subject address and its match, if present, have different floor numbers.
building: Option<String>The building field indicates the subject address and its match, if present, have
different building identifiers.
status: Option<String>The status field indicates the subject address and its match, if present, have different
values for the address status. E.g. “Current” does not match “Other”.
longitude: f64The longitude field represents the ‘x’ value of the address point. Depending on the
input from the caller, the value may be in decimal degrees, meters or feet.
latitude: f64The latitude field represents the ‘y’ value of the address point. Depending on the
input from the caller, the value may be in decimal degrees, meters or feet.
id: UuidThe id field is an internal unique id.
Trait Implementations§
Source§impl Clone for MatchRecord
impl Clone for MatchRecord
Source§fn clone(&self) -> MatchRecord
fn clone(&self) -> MatchRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MatchRecord
impl Debug for MatchRecord
Source§impl Default for MatchRecord
impl Default for MatchRecord
Source§fn default() -> MatchRecord
fn default() -> MatchRecord
Source§impl<'de> Deserialize<'de> for MatchRecord
impl<'de> Deserialize<'de> for MatchRecord
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>,
Source§impl Geographic for MatchRecord
impl Geographic for MatchRecord
Source§impl PartialEq for MatchRecord
impl PartialEq for MatchRecord
Source§impl PartialOrd for MatchRecord
impl PartialOrd for MatchRecord
Source§impl Serialize for MatchRecord
impl Serialize for MatchRecord
impl StructuralPartialEq for MatchRecord
Auto Trait Implementations§
impl Freeze for MatchRecord
impl RefUnwindSafe for MatchRecord
impl Send for MatchRecord
impl Sync for MatchRecord
impl Unpin for MatchRecord
impl UnwindSafe for MatchRecord
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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