#[non_exhaustive]pub struct ObjectTypeKeyBuilder { /* private fields */ }
Expand description
A builder for ObjectTypeKey
.
Implementations§
source§impl ObjectTypeKeyBuilder
impl ObjectTypeKeyBuilder
sourcepub fn standard_identifiers(self, input: StandardIdentifier) -> Self
pub fn standard_identifiers(self, input: StandardIdentifier) -> Self
Appends an item to standard_identifiers
.
To override the contents of this collection use set_standard_identifiers
.
The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET, CASE, or ORDER means that this key can be used to tie an object to a PROFILE, ASSET, CASE, or ORDER respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
sourcepub fn set_standard_identifiers(
self,
input: Option<Vec<StandardIdentifier>>
) -> Self
pub fn set_standard_identifiers( self, input: Option<Vec<StandardIdentifier>> ) -> Self
The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET, CASE, or ORDER means that this key can be used to tie an object to a PROFILE, ASSET, CASE, or ORDER respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
sourcepub fn get_standard_identifiers(&self) -> &Option<Vec<StandardIdentifier>>
pub fn get_standard_identifiers(&self) -> &Option<Vec<StandardIdentifier>>
The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET, CASE, or ORDER means that this key can be used to tie an object to a PROFILE, ASSET, CASE, or ORDER respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
sourcepub fn field_names(self, input: impl Into<String>) -> Self
pub fn field_names(self, input: impl Into<String>) -> Self
Appends an item to field_names
.
To override the contents of this collection use set_field_names
.
The reference for the key name of the fields map.
sourcepub fn set_field_names(self, input: Option<Vec<String>>) -> Self
pub fn set_field_names(self, input: Option<Vec<String>>) -> Self
The reference for the key name of the fields map.
sourcepub fn get_field_names(&self) -> &Option<Vec<String>>
pub fn get_field_names(&self) -> &Option<Vec<String>>
The reference for the key name of the fields map.
sourcepub fn build(self) -> ObjectTypeKey
pub fn build(self) -> ObjectTypeKey
Consumes the builder and constructs a ObjectTypeKey
.
Trait Implementations§
source§impl Clone for ObjectTypeKeyBuilder
impl Clone for ObjectTypeKeyBuilder
source§fn clone(&self) -> ObjectTypeKeyBuilder
fn clone(&self) -> ObjectTypeKeyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ObjectTypeKeyBuilder
impl Debug for ObjectTypeKeyBuilder
source§impl Default for ObjectTypeKeyBuilder
impl Default for ObjectTypeKeyBuilder
source§fn default() -> ObjectTypeKeyBuilder
fn default() -> ObjectTypeKeyBuilder
source§impl PartialEq for ObjectTypeKeyBuilder
impl PartialEq for ObjectTypeKeyBuilder
source§fn eq(&self, other: &ObjectTypeKeyBuilder) -> bool
fn eq(&self, other: &ObjectTypeKeyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectTypeKeyBuilder
Auto Trait Implementations§
impl Freeze for ObjectTypeKeyBuilder
impl RefUnwindSafe for ObjectTypeKeyBuilder
impl Send for ObjectTypeKeyBuilder
impl Sync for ObjectTypeKeyBuilder
impl Unpin for ObjectTypeKeyBuilder
impl UnwindSafe for ObjectTypeKeyBuilder
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