Struct aws_sdk_customerprofiles::types::AutoMerging
source · #[non_exhaustive]pub struct AutoMerging {
pub enabled: bool,
pub consolidation: Option<Consolidation>,
pub conflict_resolution: Option<ConflictResolution>,
pub min_allowed_confidence_score_for_merging: Option<f64>,
}
Expand description
Configuration settings for how to perform the auto-merging of profiles.
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.enabled: bool
The flag that enables the auto-merging of duplicate profiles.
consolidation: Option<Consolidation>
A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.
conflict_resolution: Option<ConflictResolution>
How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same FirstName
and LastName
(and that is the matching criteria), which EmailAddress
should be used?
min_allowed_confidence_score_for_merging: Option<f64>
A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
Implementations§
source§impl AutoMerging
impl AutoMerging
sourcepub fn consolidation(&self) -> Option<&Consolidation>
pub fn consolidation(&self) -> Option<&Consolidation>
A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.
sourcepub fn conflict_resolution(&self) -> Option<&ConflictResolution>
pub fn conflict_resolution(&self) -> Option<&ConflictResolution>
How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same FirstName
and LastName
(and that is the matching criteria), which EmailAddress
should be used?
sourcepub fn min_allowed_confidence_score_for_merging(&self) -> Option<f64>
pub fn min_allowed_confidence_score_for_merging(&self) -> Option<f64>
A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
source§impl AutoMerging
impl AutoMerging
sourcepub fn builder() -> AutoMergingBuilder
pub fn builder() -> AutoMergingBuilder
Creates a new builder-style object to manufacture AutoMerging
.
Trait Implementations§
source§impl Clone for AutoMerging
impl Clone for AutoMerging
source§fn clone(&self) -> AutoMerging
fn clone(&self) -> AutoMerging
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMerging
impl Debug for AutoMerging
source§impl PartialEq for AutoMerging
impl PartialEq for AutoMerging
source§fn eq(&self, other: &AutoMerging) -> bool
fn eq(&self, other: &AutoMerging) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoMerging
Auto Trait Implementations§
impl Freeze for AutoMerging
impl RefUnwindSafe for AutoMerging
impl Send for AutoMerging
impl Sync for AutoMerging
impl Unpin for AutoMerging
impl UnwindSafe for AutoMerging
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