#[non_exhaustive]pub struct RealTimeContactAnalysisTranscriptItemRedaction {
pub character_offsets: Option<Vec<RealTimeContactAnalysisCharacterInterval>>,
}
Expand description
Object describing redaction applied to the segment.
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.character_offsets: Option<Vec<RealTimeContactAnalysisCharacterInterval>>
List of character intervals each describing a part of the text that was redacted. For OutputType.Raw
, part of the original text that contains data that can be redacted. For OutputType.Redacted
, part of the string with redaction tag.
Implementations§
source§impl RealTimeContactAnalysisTranscriptItemRedaction
impl RealTimeContactAnalysisTranscriptItemRedaction
sourcepub fn character_offsets(&self) -> &[RealTimeContactAnalysisCharacterInterval]
pub fn character_offsets(&self) -> &[RealTimeContactAnalysisCharacterInterval]
List of character intervals each describing a part of the text that was redacted. For OutputType.Raw
, part of the original text that contains data that can be redacted. For OutputType.Redacted
, part of the string with redaction tag.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .character_offsets.is_none()
.
source§impl RealTimeContactAnalysisTranscriptItemRedaction
impl RealTimeContactAnalysisTranscriptItemRedaction
sourcepub fn builder() -> RealTimeContactAnalysisTranscriptItemRedactionBuilder
pub fn builder() -> RealTimeContactAnalysisTranscriptItemRedactionBuilder
Creates a new builder-style object to manufacture RealTimeContactAnalysisTranscriptItemRedaction
.
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisTranscriptItemRedaction
impl Clone for RealTimeContactAnalysisTranscriptItemRedaction
source§fn clone(&self) -> RealTimeContactAnalysisTranscriptItemRedaction
fn clone(&self) -> RealTimeContactAnalysisTranscriptItemRedaction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RealTimeContactAnalysisTranscriptItemRedaction
impl PartialEq for RealTimeContactAnalysisTranscriptItemRedaction
source§fn eq(&self, other: &RealTimeContactAnalysisTranscriptItemRedaction) -> bool
fn eq(&self, other: &RealTimeContactAnalysisTranscriptItemRedaction) -> bool
self
and other
values to be equal, and is used
by ==
.