Struct aws_sdk_customerprofiles::operation::get_profile_object_type::GetProfileObjectTypeOutput
source · #[non_exhaustive]pub struct GetProfileObjectTypeOutput {
pub object_type_name: String,
pub description: String,
pub template_id: Option<String>,
pub expiration_days: Option<i32>,
pub encryption_key: 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>>>,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
pub tags: Option<HashMap<String, String>>,
/* 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.object_type_name: String
The name of the profile object type.
description: String
The description of the profile object type.
template_id: Option<String>
A unique identifier for the object template.
expiration_days: Option<i32>
The number of days until the data in the object expires.
encryption_key: Option<String>
The customer-provided key to encrypt the profile object that will be created in this profile object type.
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.
created_at: Option<DateTime>
The timestamp of when the domain was created.
last_updated_at: Option<DateTime>
The timestamp of when the domain was most recently edited.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl GetProfileObjectTypeOutput
impl GetProfileObjectTypeOutput
sourcepub fn object_type_name(&self) -> &str
pub fn object_type_name(&self) -> &str
The name of the profile object type.
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
The description of the profile object type.
sourcepub fn template_id(&self) -> Option<&str>
pub fn template_id(&self) -> Option<&str>
A unique identifier for the object template.
sourcepub fn expiration_days(&self) -> Option<i32>
pub fn expiration_days(&self) -> Option<i32>
The number of days until the data in the object expires.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
The customer-provided key to encrypt the profile object that will be created in this profile object type.
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.
sourcepub fn fields(&self) -> Option<&HashMap<String, ObjectTypeField>>
pub fn fields(&self) -> Option<&HashMap<String, ObjectTypeField>>
A map of the name and ObjectType field.
sourcepub fn keys(&self) -> Option<&HashMap<String, Vec<ObjectTypeKey>>>
pub fn keys(&self) -> Option<&HashMap<String, Vec<ObjectTypeKey>>>
A list of unique keys that can be used to map data to the profile.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when the domain was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The timestamp of when the domain was most recently edited.
The tags used to organize, track, or control access for this resource.
source§impl GetProfileObjectTypeOutput
impl GetProfileObjectTypeOutput
sourcepub fn builder() -> GetProfileObjectTypeOutputBuilder
pub fn builder() -> GetProfileObjectTypeOutputBuilder
Creates a new builder-style object to manufacture GetProfileObjectTypeOutput
.
Trait Implementations§
source§impl Clone for GetProfileObjectTypeOutput
impl Clone for GetProfileObjectTypeOutput
source§fn clone(&self) -> GetProfileObjectTypeOutput
fn clone(&self) -> GetProfileObjectTypeOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetProfileObjectTypeOutput
impl Debug for GetProfileObjectTypeOutput
source§impl PartialEq for GetProfileObjectTypeOutput
impl PartialEq for GetProfileObjectTypeOutput
source§fn eq(&self, other: &GetProfileObjectTypeOutput) -> bool
fn eq(&self, other: &GetProfileObjectTypeOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetProfileObjectTypeOutput
impl RequestId for GetProfileObjectTypeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetProfileObjectTypeOutput
Auto Trait Implementations§
impl Freeze for GetProfileObjectTypeOutput
impl RefUnwindSafe for GetProfileObjectTypeOutput
impl Send for GetProfileObjectTypeOutput
impl Sync for GetProfileObjectTypeOutput
impl Unpin for GetProfileObjectTypeOutput
impl UnwindSafe for GetProfileObjectTypeOutput
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