#[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 ==
.impl StructuralPartialEq for RealTimeContactAnalysisSegmentAttachments
Auto Trait Implementations§
impl Freeze for RealTimeContactAnalysisSegmentAttachments
impl RefUnwindSafe for RealTimeContactAnalysisSegmentAttachments
impl Send for RealTimeContactAnalysisSegmentAttachments
impl Sync for RealTimeContactAnalysisSegmentAttachments
impl Unpin for RealTimeContactAnalysisSegmentAttachments
impl UnwindSafe for RealTimeContactAnalysisSegmentAttachments
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