#[non_exhaustive]pub struct MergeProfilesInput {
pub domain_name: Option<String>,
pub main_profile_id: Option<String>,
pub profile_ids_to_be_merged: Option<Vec<String>>,
pub field_source_profile_ids: Option<FieldSourceProfileIds>,
}
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.domain_name: Option<String>
The unique name of the domain.
main_profile_id: Option<String>
The identifier of the profile to be taken.
profile_ids_to_be_merged: Option<Vec<String>>
The identifier of the profile to be merged into MainProfileId.
field_source_profile_ids: Option<FieldSourceProfileIds>
The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.
Implementations§
source§impl MergeProfilesInput
impl MergeProfilesInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The unique name of the domain.
sourcepub fn main_profile_id(&self) -> Option<&str>
pub fn main_profile_id(&self) -> Option<&str>
The identifier of the profile to be taken.
sourcepub fn profile_ids_to_be_merged(&self) -> &[String]
pub fn profile_ids_to_be_merged(&self) -> &[String]
The identifier of the profile to be merged into MainProfileId.
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_to_be_merged.is_none()
.
sourcepub fn field_source_profile_ids(&self) -> Option<&FieldSourceProfileIds>
pub fn field_source_profile_ids(&self) -> Option<&FieldSourceProfileIds>
The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.
source§impl MergeProfilesInput
impl MergeProfilesInput
sourcepub fn builder() -> MergeProfilesInputBuilder
pub fn builder() -> MergeProfilesInputBuilder
Creates a new builder-style object to manufacture MergeProfilesInput
.
Trait Implementations§
source§impl Clone for MergeProfilesInput
impl Clone for MergeProfilesInput
source§fn clone(&self) -> MergeProfilesInput
fn clone(&self) -> MergeProfilesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MergeProfilesInput
impl Debug for MergeProfilesInput
source§impl PartialEq for MergeProfilesInput
impl PartialEq for MergeProfilesInput
source§fn eq(&self, other: &MergeProfilesInput) -> bool
fn eq(&self, other: &MergeProfilesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MergeProfilesInput
Auto Trait Implementations§
impl Freeze for MergeProfilesInput
impl RefUnwindSafe for MergeProfilesInput
impl Send for MergeProfilesInput
impl Sync for MergeProfilesInput
impl Unpin for MergeProfilesInput
impl UnwindSafe for MergeProfilesInput
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