#[non_exhaustive]pub struct ContactSearchSummaryAgentInfoBuilder { /* private fields */ }
Expand description
A builder for ContactSearchSummaryAgentInfo
.
Implementations§
source§impl ContactSearchSummaryAgentInfoBuilder
impl ContactSearchSummaryAgentInfoBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the agent who accepted the contact.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the agent who accepted the contact.
sourcepub fn connected_to_agent_timestamp(self, input: DateTime) -> Self
pub fn connected_to_agent_timestamp(self, input: DateTime) -> Self
The timestamp when the contact was connected to the agent.
sourcepub fn set_connected_to_agent_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_connected_to_agent_timestamp(self, input: Option<DateTime>) -> Self
The timestamp when the contact was connected to the agent.
sourcepub fn get_connected_to_agent_timestamp(&self) -> &Option<DateTime>
pub fn get_connected_to_agent_timestamp(&self) -> &Option<DateTime>
The timestamp when the contact was connected to the agent.
sourcepub fn build(self) -> ContactSearchSummaryAgentInfo
pub fn build(self) -> ContactSearchSummaryAgentInfo
Consumes the builder and constructs a ContactSearchSummaryAgentInfo
.
Trait Implementations§
source§impl Clone for ContactSearchSummaryAgentInfoBuilder
impl Clone for ContactSearchSummaryAgentInfoBuilder
source§fn clone(&self) -> ContactSearchSummaryAgentInfoBuilder
fn clone(&self) -> ContactSearchSummaryAgentInfoBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ContactSearchSummaryAgentInfoBuilder
impl Default for ContactSearchSummaryAgentInfoBuilder
source§fn default() -> ContactSearchSummaryAgentInfoBuilder
fn default() -> ContactSearchSummaryAgentInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ContactSearchSummaryAgentInfoBuilder
impl PartialEq for ContactSearchSummaryAgentInfoBuilder
source§fn eq(&self, other: &ContactSearchSummaryAgentInfoBuilder) -> bool
fn eq(&self, other: &ContactSearchSummaryAgentInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactSearchSummaryAgentInfoBuilder
Auto Trait Implementations§
impl Freeze for ContactSearchSummaryAgentInfoBuilder
impl RefUnwindSafe for ContactSearchSummaryAgentInfoBuilder
impl Send for ContactSearchSummaryAgentInfoBuilder
impl Sync for ContactSearchSummaryAgentInfoBuilder
impl Unpin for ContactSearchSummaryAgentInfoBuilder
impl UnwindSafe for ContactSearchSummaryAgentInfoBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.