#[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 ==
.