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