pub struct AddressMatch {
pub coincident: bool,
pub mismatches: Option<Mismatches>,
}Expand description
The AddressMatch is an intermediary data structure used internally to aggregate match information from
comparing types that implement crate::Addresses, for the purpose of producing MatchRecords.
Fields§
§coincident: boolThe coincident field indicates the compared addresses refer to the same location, or are
coincidental.
mismatches: Option<Mismatches>The mismatches field holds Mismatch information for each field that differs between
the compared addresses. If no coincident address is present, this field is None.
Implementations§
Trait Implementations§
Source§impl Clone for AddressMatch
impl Clone for AddressMatch
Source§fn clone(&self) -> AddressMatch
fn clone(&self) -> AddressMatch
Returns a copy 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 AddressMatch
impl Debug for AddressMatch
Source§impl Default for AddressMatch
impl Default for AddressMatch
Source§fn default() -> AddressMatch
fn default() -> AddressMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddressMatch
impl<'de> Deserialize<'de> for AddressMatch
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
Source§impl Hash for AddressMatch
impl Hash for AddressMatch
Source§impl Ord for AddressMatch
impl Ord for AddressMatch
Source§fn cmp(&self, other: &AddressMatch) -> Ordering
fn cmp(&self, other: &AddressMatch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AddressMatch
impl PartialEq for AddressMatch
Source§impl PartialOrd for AddressMatch
impl PartialOrd for AddressMatch
Source§impl Serialize for AddressMatch
impl Serialize for AddressMatch
impl Eq for AddressMatch
impl StructuralPartialEq for AddressMatch
Auto Trait Implementations§
impl Freeze for AddressMatch
impl RefUnwindSafe for AddressMatch
impl Send for AddressMatch
impl Sync for AddressMatch
impl Unpin for AddressMatch
impl UnwindSafe for AddressMatch
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,
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>
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