Struct aws_sdk_transcribe::model::SentimentFilter
source · [−]#[non_exhaustive]pub struct SentimentFilter {
pub sentiments: Option<Vec<SentimentValue>>,
pub absolute_time_range: Option<AbsoluteTimeRange>,
pub relative_time_range: Option<RelativeTimeRange>,
pub participant_role: Option<ParticipantRole>,
pub negate: Option<bool>,
}
Expand description
An object that enables you to specify a particular customer or agent sentiment. If at least 50 percent of the conversation turns (the back-and-forth between two speakers) in a specified time period match the specified sentiment, Amazon Transcribe will consider the sentiment a match.
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.sentiments: Option<Vec<SentimentValue>>
An array that enables you to specify sentiments for the customer or agent. You can specify one or more values.
absolute_time_range: Option<AbsoluteTimeRange>
The time range, measured in seconds, of the sentiment.
relative_time_range: Option<RelativeTimeRange>
The time range, set in percentages, that correspond to proportion of the call.
participant_role: Option<ParticipantRole>
A value that determines whether the sentiment belongs to the customer or the agent.
negate: Option<bool>
Set to TRUE
to look for sentiments that weren't specified in the request.
Implementations
sourceimpl SentimentFilter
impl SentimentFilter
sourcepub fn sentiments(&self) -> Option<&[SentimentValue]>
pub fn sentiments(&self) -> Option<&[SentimentValue]>
An array that enables you to specify sentiments for the customer or agent. You can specify one or more values.
sourcepub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
pub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
The time range, measured in seconds, of the sentiment.
sourcepub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
pub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
The time range, set in percentages, that correspond to proportion of the call.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
A value that determines whether the sentiment belongs to the customer or the agent.
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
sourcefn ne(&self, other: &SentimentFilter) -> bool
fn ne(&self, other: &SentimentFilter) -> bool
This method tests for !=
.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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