#[non_exhaustive]pub struct RealTimeContactAnalysisTranscriptItemWithCharacterOffsets {
pub id: String,
pub character_offsets: Option<RealTimeContactAnalysisCharacterInterval>,
}
Expand description
Transcript representation containing Id and list of character intervals that are associated with analysis data. For example, this object within a RealTimeContactAnalysisPointOfInterest
in Category.MatchedDetails
would have character interval describing part of the text that matched category.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
character_offsets: Option<RealTimeContactAnalysisCharacterInterval>
List of character intervals within transcript content/text.
Implementations§
source§impl RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
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>
List of character intervals within transcript content/text.
source§impl RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
sourcepub fn builder(
) -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
pub fn builder( ) -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
Creates a new builder-style object to manufacture RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
.
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl Clone for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
source§fn clone(&self) -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
fn clone(&self) -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl PartialEq for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
source§fn eq(
&self,
other: &RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
) -> bool
fn eq( &self, other: &RealTimeContactAnalysisTranscriptItemWithCharacterOffsets ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
Auto Trait Implementations§
impl RefUnwindSafe for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl Send for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl Sync for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl Unpin for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
impl UnwindSafe for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.