Struct aws_sdk_customerprofiles::operation::get_profile_object_type_template::GetProfileObjectTypeTemplateOutput
source · #[non_exhaustive]pub struct GetProfileObjectTypeTemplateOutput {
pub template_id: Option<String>,
pub source_name: Option<String>,
pub source_object: Option<String>,
pub allow_profile_creation: bool,
pub source_last_updated_timestamp_format: Option<String>,
pub fields: Option<HashMap<String, ObjectTypeField>>,
pub keys: Option<HashMap<String, Vec<ObjectTypeKey>>>,
/* private fields */
}
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.template_id: Option<String>
A unique identifier for the object template.
source_name: Option<String>
The name of the source of the object template.
source_object: Option<String>
The source of the object template.
allow_profile_creation: bool
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
source_last_updated_timestamp_format: Option<String>
The format of your sourceLastUpdatedTimestamp
that was previously set up.
fields: Option<HashMap<String, ObjectTypeField>>
A map of the name and ObjectType field.
keys: Option<HashMap<String, Vec<ObjectTypeKey>>>
A list of unique keys that can be used to map data to the profile.
Implementations§
source§impl GetProfileObjectTypeTemplateOutput
impl GetProfileObjectTypeTemplateOutput
sourcepub fn template_id(&self) -> Option<&str>
pub fn template_id(&self) -> Option<&str>
A unique identifier for the object template.
sourcepub fn source_name(&self) -> Option<&str>
pub fn source_name(&self) -> Option<&str>
The name of the source of the object template.
sourcepub fn source_object(&self) -> Option<&str>
pub fn source_object(&self) -> Option<&str>
The source of the object template.
sourcepub fn allow_profile_creation(&self) -> bool
pub fn allow_profile_creation(&self) -> bool
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
sourcepub fn source_last_updated_timestamp_format(&self) -> Option<&str>
pub fn source_last_updated_timestamp_format(&self) -> Option<&str>
The format of your sourceLastUpdatedTimestamp
that was previously set up.
source§impl GetProfileObjectTypeTemplateOutput
impl GetProfileObjectTypeTemplateOutput
sourcepub fn builder() -> GetProfileObjectTypeTemplateOutputBuilder
pub fn builder() -> GetProfileObjectTypeTemplateOutputBuilder
Creates a new builder-style object to manufacture GetProfileObjectTypeTemplateOutput
.
Trait Implementations§
source§impl Clone for GetProfileObjectTypeTemplateOutput
impl Clone for GetProfileObjectTypeTemplateOutput
source§fn clone(&self) -> GetProfileObjectTypeTemplateOutput
fn clone(&self) -> GetProfileObjectTypeTemplateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetProfileObjectTypeTemplateOutput
impl PartialEq for GetProfileObjectTypeTemplateOutput
source§fn eq(&self, other: &GetProfileObjectTypeTemplateOutput) -> bool
fn eq(&self, other: &GetProfileObjectTypeTemplateOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetProfileObjectTypeTemplateOutput
impl RequestId for GetProfileObjectTypeTemplateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetProfileObjectTypeTemplateOutput
Auto Trait Implementations§
impl Freeze for GetProfileObjectTypeTemplateOutput
impl RefUnwindSafe for GetProfileObjectTypeTemplateOutput
impl Send for GetProfileObjectTypeTemplateOutput
impl Sync for GetProfileObjectTypeTemplateOutput
impl Unpin for GetProfileObjectTypeTemplateOutput
impl UnwindSafe for GetProfileObjectTypeTemplateOutput
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