#[non_exhaustive]pub struct ConflictResolution {
pub conflict_resolving_model: ConflictResolvingModel,
pub source_name: Option<String>,
}
Expand description
How the auto-merging process should resolve conflicts between different 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.conflict_resolving_model: ConflictResolvingModel
How the auto-merging process should resolve conflicts between different profiles.
-
RECENCY
: Uses the data that was most recently updated. -
SOURCE
: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, thenRECENCY
is used again.
source_name: Option<String>
The ObjectType
name that is used to resolve profile merging conflicts when choosing SOURCE
as the ConflictResolvingModel
.
Implementations§
source§impl ConflictResolution
impl ConflictResolution
sourcepub fn conflict_resolving_model(&self) -> &ConflictResolvingModel
pub fn conflict_resolving_model(&self) -> &ConflictResolvingModel
How the auto-merging process should resolve conflicts between different profiles.
-
RECENCY
: Uses the data that was most recently updated. -
SOURCE
: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, thenRECENCY
is used again.
sourcepub fn source_name(&self) -> Option<&str>
pub fn source_name(&self) -> Option<&str>
The ObjectType
name that is used to resolve profile merging conflicts when choosing SOURCE
as the ConflictResolvingModel
.
source§impl ConflictResolution
impl ConflictResolution
sourcepub fn builder() -> ConflictResolutionBuilder
pub fn builder() -> ConflictResolutionBuilder
Creates a new builder-style object to manufacture ConflictResolution
.
Trait Implementations§
source§impl Clone for ConflictResolution
impl Clone for ConflictResolution
source§fn clone(&self) -> ConflictResolution
fn clone(&self) -> ConflictResolution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConflictResolution
impl Debug for ConflictResolution
source§impl PartialEq for ConflictResolution
impl PartialEq for ConflictResolution
source§fn eq(&self, other: &ConflictResolution) -> bool
fn eq(&self, other: &ConflictResolution) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConflictResolution
Auto Trait Implementations§
impl Freeze for ConflictResolution
impl RefUnwindSafe for ConflictResolution
impl Send for ConflictResolution
impl Sync for ConflictResolution
impl Unpin for ConflictResolution
impl UnwindSafe for ConflictResolution
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