Struct aws_sdk_transcribe::model::TranscriptFilter
source · [−]#[non_exhaustive]pub struct TranscriptFilter {
pub transcript_filter_type: Option<TranscriptFilterType>,
pub absolute_time_range: Option<AbsoluteTimeRange>,
pub relative_time_range: Option<RelativeTimeRange>,
pub participant_role: Option<ParticipantRole>,
pub negate: Option<bool>,
pub targets: Option<Vec<String>>,
}
Expand description
Matches the output of the transcription to either the specific phrases that you specify, or the intent of the phrases that you specify.
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.transcript_filter_type: Option<TranscriptFilterType>
Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription.
absolute_time_range: Option<AbsoluteTimeRange>
A time range, set in seconds, between two points in the call.
relative_time_range: Option<RelativeTimeRange>
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.
participant_role: Option<ParticipantRole>
Determines whether the customer or the agent is speaking the phrases that you've specified.
negate: Option<bool>
If TRUE
, the rule that you specify is applied to everything except for the phrases that you specify.
targets: Option<Vec<String>>
The phrases that you're specifying for the transcript filter to match.
Implementations
sourceimpl TranscriptFilter
impl TranscriptFilter
sourcepub fn transcript_filter_type(&self) -> Option<&TranscriptFilterType>
pub fn transcript_filter_type(&self) -> Option<&TranscriptFilterType>
Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription.
sourcepub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
pub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
A time range, set in seconds, between two points in the call.
sourcepub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
pub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
Determines whether the customer or the agent is speaking the phrases that you've specified.
sourceimpl TranscriptFilter
impl TranscriptFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TranscriptFilter
Trait Implementations
sourceimpl Clone for TranscriptFilter
impl Clone for TranscriptFilter
sourcefn clone(&self) -> TranscriptFilter
fn clone(&self) -> TranscriptFilter
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 TranscriptFilter
impl Debug for TranscriptFilter
sourceimpl PartialEq<TranscriptFilter> for TranscriptFilter
impl PartialEq<TranscriptFilter> for TranscriptFilter
sourcefn eq(&self, other: &TranscriptFilter) -> bool
fn eq(&self, other: &TranscriptFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TranscriptFilter) -> bool
fn ne(&self, other: &TranscriptFilter) -> bool
This method tests for !=
.
impl StructuralPartialEq for TranscriptFilter
Auto Trait Implementations
impl RefUnwindSafe for TranscriptFilter
impl Send for TranscriptFilter
impl Sync for TranscriptFilter
impl Unpin for TranscriptFilter
impl UnwindSafe for TranscriptFilter
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