#[non_exhaustive]pub struct AddProfileKeyInput {
pub profile_id: Option<String>,
pub key_name: Option<String>,
pub values: Option<Vec<String>>,
pub domain_name: Option<String>,
}
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.profile_id: Option<String>
The unique identifier of a customer profile.
key_name: Option<String>
A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
values: Option<Vec<String>>
A list of key values.
domain_name: Option<String>
The unique name of the domain.
Implementations§
source§impl AddProfileKeyInput
impl AddProfileKeyInput
sourcepub fn profile_id(&self) -> Option<&str>
pub fn profile_id(&self) -> Option<&str>
The unique identifier of a customer profile.
sourcepub fn key_name(&self) -> Option<&str>
pub fn key_name(&self) -> Option<&str>
A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[String]
A list of key values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .values.is_none()
.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The unique name of the domain.
source§impl AddProfileKeyInput
impl AddProfileKeyInput
sourcepub fn builder() -> AddProfileKeyInputBuilder
pub fn builder() -> AddProfileKeyInputBuilder
Creates a new builder-style object to manufacture AddProfileKeyInput
.
Trait Implementations§
source§impl Clone for AddProfileKeyInput
impl Clone for AddProfileKeyInput
source§fn clone(&self) -> AddProfileKeyInput
fn clone(&self) -> AddProfileKeyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddProfileKeyInput
impl Debug for AddProfileKeyInput
source§impl PartialEq for AddProfileKeyInput
impl PartialEq for AddProfileKeyInput
source§fn eq(&self, other: &AddProfileKeyInput) -> bool
fn eq(&self, other: &AddProfileKeyInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddProfileKeyInput
Auto Trait Implementations§
impl Freeze for AddProfileKeyInput
impl RefUnwindSafe for AddProfileKeyInput
impl Send for AddProfileKeyInput
impl Sync for AddProfileKeyInput
impl Unpin for AddProfileKeyInput
impl UnwindSafe for AddProfileKeyInput
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