#[non_exhaustive]pub struct AbsoluteTimeRangeBuilder { /* private fields */ }Expand description
A builder for AbsoluteTimeRange.
Implementations§
source§impl AbsoluteTimeRangeBuilder
impl AbsoluteTimeRangeBuilder
sourcepub fn start_time(self, input: i64) -> Self
pub fn start_time(self, input: i64) -> Self
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime in your request, you must also include EndTime.
sourcepub fn set_start_time(self, input: Option<i64>) -> Self
pub fn set_start_time(self, input: Option<i64>) -> Self
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime in your request, you must also include EndTime.
sourcepub fn get_start_time(&self) -> &Option<i64>
pub fn get_start_time(&self) -> &Option<i64>
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime in your request, you must also include EndTime.
sourcepub fn end_time(self, input: i64) -> Self
pub fn end_time(self, input: i64) -> Self
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime in your request, you must also include StartTime.
sourcepub fn set_end_time(self, input: Option<i64>) -> Self
pub fn set_end_time(self, input: Option<i64>) -> Self
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime in your request, you must also include StartTime.
sourcepub fn get_end_time(&self) -> &Option<i64>
pub fn get_end_time(&self) -> &Option<i64>
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime in your request, you must also include StartTime.
sourcepub fn first(self, input: i64) -> Self
pub fn first(self, input: i64) -> Self
The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn set_first(self, input: Option<i64>) -> Self
pub fn set_first(self, input: Option<i64>) -> Self
The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn get_first(&self) -> &Option<i64>
pub fn get_first(&self) -> &Option<i64>
The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn last(self, input: i64) -> Self
pub fn last(self, input: i64) -> Self
The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn set_last(self, input: Option<i64>) -> Self
pub fn set_last(self, input: Option<i64>) -> Self
The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn get_last(&self) -> &Option<i64>
pub fn get_last(&self) -> &Option<i64>
The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn build(self) -> AbsoluteTimeRange
pub fn build(self) -> AbsoluteTimeRange
Consumes the builder and constructs a AbsoluteTimeRange.
Trait Implementations§
source§impl Clone for AbsoluteTimeRangeBuilder
impl Clone for AbsoluteTimeRangeBuilder
source§fn clone(&self) -> AbsoluteTimeRangeBuilder
fn clone(&self) -> AbsoluteTimeRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AbsoluteTimeRangeBuilder
impl Debug for AbsoluteTimeRangeBuilder
source§impl Default for AbsoluteTimeRangeBuilder
impl Default for AbsoluteTimeRangeBuilder
source§fn default() -> AbsoluteTimeRangeBuilder
fn default() -> AbsoluteTimeRangeBuilder
source§impl PartialEq for AbsoluteTimeRangeBuilder
impl PartialEq for AbsoluteTimeRangeBuilder
source§fn eq(&self, other: &AbsoluteTimeRangeBuilder) -> bool
fn eq(&self, other: &AbsoluteTimeRangeBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AbsoluteTimeRangeBuilder
Auto Trait Implementations§
impl Freeze for AbsoluteTimeRangeBuilder
impl RefUnwindSafe for AbsoluteTimeRangeBuilder
impl Send for AbsoluteTimeRangeBuilder
impl Sync for AbsoluteTimeRangeBuilder
impl Unpin for AbsoluteTimeRangeBuilder
impl UnwindSafe for AbsoluteTimeRangeBuilder
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