Struct aws_sdk_customerprofiles::types::MatchItem
source · #[non_exhaustive]pub struct MatchItem {
pub match_id: Option<String>,
pub profile_ids: Option<Vec<String>>,
pub confidence_score: Option<f64>,
}
Expand description
The Match group object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.match_id: Option<String>
The unique identifiers for this group of profiles that match.
profile_ids: Option<Vec<String>>
A list of identifiers for profiles that match.
confidence_score: Option<f64>
A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.
Implementations§
source§impl MatchItem
impl MatchItem
sourcepub fn match_id(&self) -> Option<&str>
pub fn match_id(&self) -> Option<&str>
The unique identifiers for this group of profiles that match.
sourcepub fn profile_ids(&self) -> &[String]
pub fn profile_ids(&self) -> &[String]
A list of identifiers for profiles that match.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .profile_ids.is_none()
.
sourcepub fn confidence_score(&self) -> Option<f64>
pub fn confidence_score(&self) -> Option<f64>
A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.
Trait Implementations§
source§impl PartialEq for MatchItem
impl PartialEq for MatchItem
impl StructuralPartialEq for MatchItem
Auto Trait Implementations§
impl Freeze for MatchItem
impl RefUnwindSafe for MatchItem
impl Send for MatchItem
impl Sync for MatchItem
impl Unpin for MatchItem
impl UnwindSafe for MatchItem
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> 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