#[non_exhaustive]pub struct RealTimeContactAnalysisSegmentEvent {
pub id: String,
pub participant_id: Option<String>,
pub participant_role: Option<ParticipantRole>,
pub display_name: Option<String>,
pub event_type: String,
pub time: Option<RealTimeContactAnalysisTimeData>,
}
Expand description
Segment type describing a contact event.
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.id: String
The identifier of the contact event.
participant_id: Option<String>
The identifier of the participant.
participant_role: Option<ParticipantRole>
The role of the participant. For example, is it a customer, agent, or system.
display_name: Option<String>
The display name of the participant. Can be redacted.
event_type: String
Type of the event. For example, application/vnd.amazonaws.connect.event.participant.left
.
time: Option<RealTimeContactAnalysisTimeData>
Field describing the time of the event. It can have different representations of time.
Implementations§
source§impl RealTimeContactAnalysisSegmentEvent
impl RealTimeContactAnalysisSegmentEvent
sourcepub fn participant_id(&self) -> Option<&str>
pub fn participant_id(&self) -> Option<&str>
The identifier of the participant.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
The role of the participant. For example, is it a customer, agent, or system.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name of the participant. Can be redacted.
sourcepub fn event_type(&self) -> &str
pub fn event_type(&self) -> &str
Type of the event. For example, application/vnd.amazonaws.connect.event.participant.left
.
sourcepub fn time(&self) -> Option<&RealTimeContactAnalysisTimeData>
pub fn time(&self) -> Option<&RealTimeContactAnalysisTimeData>
Field describing the time of the event. It can have different representations of time.
source§impl RealTimeContactAnalysisSegmentEvent
impl RealTimeContactAnalysisSegmentEvent
sourcepub fn builder() -> RealTimeContactAnalysisSegmentEventBuilder
pub fn builder() -> RealTimeContactAnalysisSegmentEventBuilder
Creates a new builder-style object to manufacture RealTimeContactAnalysisSegmentEvent
.
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisSegmentEvent
impl Clone for RealTimeContactAnalysisSegmentEvent
source§fn clone(&self) -> RealTimeContactAnalysisSegmentEvent
fn clone(&self) -> RealTimeContactAnalysisSegmentEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RealTimeContactAnalysisSegmentEvent
impl PartialEq for RealTimeContactAnalysisSegmentEvent
source§fn eq(&self, other: &RealTimeContactAnalysisSegmentEvent) -> bool
fn eq(&self, other: &RealTimeContactAnalysisSegmentEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RealTimeContactAnalysisSegmentEvent
Auto Trait Implementations§
impl Freeze for RealTimeContactAnalysisSegmentEvent
impl RefUnwindSafe for RealTimeContactAnalysisSegmentEvent
impl Send for RealTimeContactAnalysisSegmentEvent
impl Sync for RealTimeContactAnalysisSegmentEvent
impl Unpin for RealTimeContactAnalysisSegmentEvent
impl UnwindSafe for RealTimeContactAnalysisSegmentEvent
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