#[non_exhaustive]pub struct DetectedProfileObjectTypeBuilder { /* private fields */ }
Expand description
A builder for DetectedProfileObjectType
.
Implementations§
source§impl DetectedProfileObjectTypeBuilder
impl DetectedProfileObjectTypeBuilder
sourcepub fn source_last_updated_timestamp_format(
self,
input: impl Into<String>
) -> Self
pub fn source_last_updated_timestamp_format( self, input: impl Into<String> ) -> Self
The format of sourceLastUpdatedTimestamp
that was detected in fields.
sourcepub fn set_source_last_updated_timestamp_format(
self,
input: Option<String>
) -> Self
pub fn set_source_last_updated_timestamp_format( self, input: Option<String> ) -> Self
The format of sourceLastUpdatedTimestamp
that was detected in fields.
sourcepub fn get_source_last_updated_timestamp_format(&self) -> &Option<String>
pub fn get_source_last_updated_timestamp_format(&self) -> &Option<String>
The format of sourceLastUpdatedTimestamp
that was detected in fields.
sourcepub fn fields(self, k: impl Into<String>, v: ObjectTypeField) -> Self
pub fn fields(self, k: impl Into<String>, v: ObjectTypeField) -> Self
Adds a key-value pair to fields
.
To override the contents of this collection use set_fields
.
A map of the name and the ObjectType
field.
sourcepub fn set_fields(self, input: Option<HashMap<String, ObjectTypeField>>) -> Self
pub fn set_fields(self, input: Option<HashMap<String, ObjectTypeField>>) -> Self
A map of the name and the ObjectType
field.
sourcepub fn get_fields(&self) -> &Option<HashMap<String, ObjectTypeField>>
pub fn get_fields(&self) -> &Option<HashMap<String, ObjectTypeField>>
A map of the name and the ObjectType
field.
sourcepub fn keys(self, k: impl Into<String>, v: Vec<ObjectTypeKey>) -> Self
pub fn keys(self, k: impl Into<String>, v: Vec<ObjectTypeKey>) -> Self
Adds a key-value pair to keys
.
To override the contents of this collection use set_keys
.
A list of unique keys that can be used to map data to a profile.
sourcepub fn set_keys(
self,
input: Option<HashMap<String, Vec<ObjectTypeKey>>>
) -> Self
pub fn set_keys( self, input: Option<HashMap<String, Vec<ObjectTypeKey>>> ) -> Self
A list of unique keys that can be used to map data to a profile.
sourcepub fn get_keys(&self) -> &Option<HashMap<String, Vec<ObjectTypeKey>>>
pub fn get_keys(&self) -> &Option<HashMap<String, Vec<ObjectTypeKey>>>
A list of unique keys that can be used to map data to a profile.
sourcepub fn build(self) -> DetectedProfileObjectType
pub fn build(self) -> DetectedProfileObjectType
Consumes the builder and constructs a DetectedProfileObjectType
.
Trait Implementations§
source§impl Clone for DetectedProfileObjectTypeBuilder
impl Clone for DetectedProfileObjectTypeBuilder
source§fn clone(&self) -> DetectedProfileObjectTypeBuilder
fn clone(&self) -> DetectedProfileObjectTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DetectedProfileObjectTypeBuilder
impl Default for DetectedProfileObjectTypeBuilder
source§fn default() -> DetectedProfileObjectTypeBuilder
fn default() -> DetectedProfileObjectTypeBuilder
source§impl PartialEq for DetectedProfileObjectTypeBuilder
impl PartialEq for DetectedProfileObjectTypeBuilder
source§fn eq(&self, other: &DetectedProfileObjectTypeBuilder) -> bool
fn eq(&self, other: &DetectedProfileObjectTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectedProfileObjectTypeBuilder
Auto Trait Implementations§
impl Freeze for DetectedProfileObjectTypeBuilder
impl RefUnwindSafe for DetectedProfileObjectTypeBuilder
impl Send for DetectedProfileObjectTypeBuilder
impl Sync for DetectedProfileObjectTypeBuilder
impl Unpin for DetectedProfileObjectTypeBuilder
impl UnwindSafe for DetectedProfileObjectTypeBuilder
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