#[non_exhaustive]pub struct RealTimeContactAnalysisTranscriptItemWithContent {
pub content: Option<String>,
pub id: String,
pub character_offsets: Option<RealTimeContactAnalysisCharacterInterval>,
}
Expand description
Transcript representation containing Id, Content and list of character intervals that are associated with analysis data. For example, this object within an issue detected would describe both content that contains identified issue and intervals where that content is taken from.
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.content: Option<String>
Part of the transcript content that contains identified issue. Can be redacted
id: String
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
character_offsets: Option<RealTimeContactAnalysisCharacterInterval>
Begin and end offsets for a part of text.
Implementations§
source§impl RealTimeContactAnalysisTranscriptItemWithContent
impl RealTimeContactAnalysisTranscriptItemWithContent
sourcepub fn content(&self) -> Option<&str>
pub fn content(&self) -> Option<&str>
Part of the transcript content that contains identified issue. Can be redacted
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
sourcepub fn character_offsets(
&self
) -> Option<&RealTimeContactAnalysisCharacterInterval>
pub fn character_offsets( &self ) -> Option<&RealTimeContactAnalysisCharacterInterval>
Begin and end offsets for a part of text.
source§impl RealTimeContactAnalysisTranscriptItemWithContent
impl RealTimeContactAnalysisTranscriptItemWithContent
sourcepub fn builder() -> RealTimeContactAnalysisTranscriptItemWithContentBuilder
pub fn builder() -> RealTimeContactAnalysisTranscriptItemWithContentBuilder
Creates a new builder-style object to manufacture RealTimeContactAnalysisTranscriptItemWithContent
.
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisTranscriptItemWithContent
impl Clone for RealTimeContactAnalysisTranscriptItemWithContent
source§fn clone(&self) -> RealTimeContactAnalysisTranscriptItemWithContent
fn clone(&self) -> RealTimeContactAnalysisTranscriptItemWithContent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RealTimeContactAnalysisTranscriptItemWithContent
impl PartialEq for RealTimeContactAnalysisTranscriptItemWithContent
source§fn eq(&self, other: &RealTimeContactAnalysisTranscriptItemWithContent) -> bool
fn eq(&self, other: &RealTimeContactAnalysisTranscriptItemWithContent) -> bool
self
and other
values to be equal, and is used
by ==
.