#[non_exhaustive]pub struct ListProfileObjectsItemBuilder { /* private fields */ }
Expand description
A builder for ListProfileObjectsItem
.
Implementations§
source§impl ListProfileObjectsItemBuilder
impl ListProfileObjectsItemBuilder
sourcepub fn object_type_name(self, input: impl Into<String>) -> Self
pub fn object_type_name(self, input: impl Into<String>) -> Self
Specifies the kind of object being added to a profile, such as "Salesforce-Account."
sourcepub fn set_object_type_name(self, input: Option<String>) -> Self
pub fn set_object_type_name(self, input: Option<String>) -> Self
Specifies the kind of object being added to a profile, such as "Salesforce-Account."
sourcepub fn get_object_type_name(&self) -> &Option<String>
pub fn get_object_type_name(&self) -> &Option<String>
Specifies the kind of object being added to a profile, such as "Salesforce-Account."
sourcepub fn profile_object_unique_key(self, input: impl Into<String>) -> Self
pub fn profile_object_unique_key(self, input: impl Into<String>) -> Self
The unique identifier of the ProfileObject generated by the service.
sourcepub fn set_profile_object_unique_key(self, input: Option<String>) -> Self
pub fn set_profile_object_unique_key(self, input: Option<String>) -> Self
The unique identifier of the ProfileObject generated by the service.
sourcepub fn get_profile_object_unique_key(&self) -> &Option<String>
pub fn get_profile_object_unique_key(&self) -> &Option<String>
The unique identifier of the ProfileObject generated by the service.
sourcepub fn object(self, input: impl Into<String>) -> Self
pub fn object(self, input: impl Into<String>) -> Self
A JSON representation of a ProfileObject that belongs to a profile.
sourcepub fn set_object(self, input: Option<String>) -> Self
pub fn set_object(self, input: Option<String>) -> Self
A JSON representation of a ProfileObject that belongs to a profile.
sourcepub fn get_object(&self) -> &Option<String>
pub fn get_object(&self) -> &Option<String>
A JSON representation of a ProfileObject that belongs to a profile.
sourcepub fn build(self) -> ListProfileObjectsItem
pub fn build(self) -> ListProfileObjectsItem
Consumes the builder and constructs a ListProfileObjectsItem
.
Trait Implementations§
source§impl Clone for ListProfileObjectsItemBuilder
impl Clone for ListProfileObjectsItemBuilder
source§fn clone(&self) -> ListProfileObjectsItemBuilder
fn clone(&self) -> ListProfileObjectsItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListProfileObjectsItemBuilder
impl Default for ListProfileObjectsItemBuilder
source§fn default() -> ListProfileObjectsItemBuilder
fn default() -> ListProfileObjectsItemBuilder
source§impl PartialEq for ListProfileObjectsItemBuilder
impl PartialEq for ListProfileObjectsItemBuilder
source§fn eq(&self, other: &ListProfileObjectsItemBuilder) -> bool
fn eq(&self, other: &ListProfileObjectsItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProfileObjectsItemBuilder
Auto Trait Implementations§
impl Freeze for ListProfileObjectsItemBuilder
impl RefUnwindSafe for ListProfileObjectsItemBuilder
impl Send for ListProfileObjectsItemBuilder
impl Sync for ListProfileObjectsItemBuilder
impl Unpin for ListProfileObjectsItemBuilder
impl UnwindSafe for ListProfileObjectsItemBuilder
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