#[non_exhaustive]pub struct RealTimeContactAnalysisSegmentAttachments {
pub id: String,
pub participant_id: String,
pub participant_role: ParticipantRole,
pub display_name: Option<String>,
pub attachments: Vec<RealTimeContactAnalysisAttachment>,
pub time: Option<RealTimeContactAnalysisTimeData>,
}
Expand description
Segment containing list of attachments.
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 segment.
participant_id: String
The identifier of the participant.
participant_role: 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.
attachments: Vec<RealTimeContactAnalysisAttachment>
List of objects describing an individual attachment.
time: Option<RealTimeContactAnalysisTimeData>
Field describing the time of the event. It can have different representations of time.
Implementations§
source§impl RealTimeContactAnalysisSegmentAttachments
impl RealTimeContactAnalysisSegmentAttachments
sourcepub fn participant_id(&self) -> &str
pub fn participant_id(&self) -> &str
The identifier of the participant.
sourcepub fn participant_role(&self) -> &ParticipantRole
pub fn participant_role(&self) -> &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 attachments(&self) -> &[RealTimeContactAnalysisAttachment]
pub fn attachments(&self) -> &[RealTimeContactAnalysisAttachment]
List of objects describing an individual attachment.
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 RealTimeContactAnalysisSegmentAttachments
impl RealTimeContactAnalysisSegmentAttachments
sourcepub fn builder() -> RealTimeContactAnalysisSegmentAttachmentsBuilder
pub fn builder() -> RealTimeContactAnalysisSegmentAttachmentsBuilder
Creates a new builder-style object to manufacture RealTimeContactAnalysisSegmentAttachments
.
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisSegmentAttachments
impl Clone for RealTimeContactAnalysisSegmentAttachments
source§fn clone(&self) -> RealTimeContactAnalysisSegmentAttachments
fn clone(&self) -> RealTimeContactAnalysisSegmentAttachments
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RealTimeContactAnalysisSegmentAttachments
impl PartialEq for RealTimeContactAnalysisSegmentAttachments
source§fn eq(&self, other: &RealTimeContactAnalysisSegmentAttachments) -> bool
fn eq(&self, other: &RealTimeContactAnalysisSegmentAttachments) -> bool
self
and other
values to be equal, and is used
by ==
.