Struct aws_sdk_transcribe::model::SentimentFilter
source · [−]#[non_exhaustive]pub struct SentimentFilter { /* private fields */ }Expand description
Flag the presence or absence of specific sentiments detected in your Call Analytics transcription output.
Rules using SentimentFilter are designed to match:
-
The presence or absence of a positive sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a negative sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a neutral sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a mixed sentiment felt by the customer, the agent, or both at specified points in the call
See Rule criteria for examples.
Implementations
sourceimpl SentimentFilter
impl SentimentFilter
sourcepub fn sentiments(&self) -> Option<&[SentimentValue]>
pub fn sentiments(&self) -> Option<&[SentimentValue]>
Specify the sentiments you want to flag.
sourcepub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
pub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for the specified sentiments. See for more detail.
sourcepub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
pub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
Allows you to specify a time range (in percentage) in your media file, during which you want to search for the specified sentiments. See for more detail.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both participants.
sourceimpl SentimentFilter
impl SentimentFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SentimentFilter.
Trait Implementations
sourceimpl Clone for SentimentFilter
impl Clone for SentimentFilter
sourcefn clone(&self) -> SentimentFilter
fn clone(&self) -> SentimentFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SentimentFilter
impl Debug for SentimentFilter
sourceimpl PartialEq<SentimentFilter> for SentimentFilter
impl PartialEq<SentimentFilter> for SentimentFilter
sourcefn eq(&self, other: &SentimentFilter) -> bool
fn eq(&self, other: &SentimentFilter) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for SentimentFilter
Auto Trait Implementations
impl RefUnwindSafe for SentimentFilter
impl Send for SentimentFilter
impl Sync for SentimentFilter
impl Unpin for SentimentFilter
impl UnwindSafe for SentimentFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more