Struct aws_sdk_transcribe::model::RelativeTimeRange
source · [−]#[non_exhaustive]pub struct RelativeTimeRange { /* private fields */ }Expand description
A time range, in percentage, between two points in your media file.
You can use StartPercentage and EndPercentage to search a custom segment. For example, setting StartPercentage to 10 and EndPercentage to 50 only searches for your specified criteria in the audio contained between the 10 percent mark and the 50 percent mark of your media file.
You can use also First to search from the start of the media file until the time you specify, or Last to search from the time you specify until the end of the media file. For example, setting First to 10 only searches for your specified criteria in the audio contained in the first 10 percent of the media file.
If you prefer to use milliseconds instead of percentage, see .
Implementations
sourceimpl RelativeTimeRange
impl RelativeTimeRange
sourcepub fn start_percentage(&self) -> Option<i32>
pub fn start_percentage(&self) -> Option<i32>
The time, in percentage, when Amazon Transcribe starts searching for the specified criteria in your media file. If you include StartPercentage in your request, you must also include EndPercentage.
sourcepub fn end_percentage(&self) -> Option<i32>
pub fn end_percentage(&self) -> Option<i32>
The time, in percentage, when Amazon Transcribe stops searching for the specified criteria in your media file. If you include EndPercentage in your request, you must also include StartPercentage.
sourceimpl RelativeTimeRange
impl RelativeTimeRange
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RelativeTimeRange.
Trait Implementations
sourceimpl Clone for RelativeTimeRange
impl Clone for RelativeTimeRange
sourcefn clone(&self) -> RelativeTimeRange
fn clone(&self) -> RelativeTimeRange
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 RelativeTimeRange
impl Debug for RelativeTimeRange
sourceimpl PartialEq<RelativeTimeRange> for RelativeTimeRange
impl PartialEq<RelativeTimeRange> for RelativeTimeRange
sourcefn eq(&self, other: &RelativeTimeRange) -> bool
fn eq(&self, other: &RelativeTimeRange) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for RelativeTimeRange
Auto Trait Implementations
impl RefUnwindSafe for RelativeTimeRange
impl Send for RelativeTimeRange
impl Sync for RelativeTimeRange
impl Unpin for RelativeTimeRange
impl UnwindSafe for RelativeTimeRange
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