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