#[non_exhaustive]pub struct RelativeTimeRangeBuilder { /* private fields */ }Expand description
A builder for RelativeTimeRange.
Implementations§
source§impl RelativeTimeRangeBuilder
impl RelativeTimeRangeBuilder
sourcepub fn start_percentage(self, input: i32) -> Self
pub fn start_percentage(self, input: i32) -> Self
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 set_start_percentage(self, input: Option<i32>) -> Self
pub fn set_start_percentage(self, input: Option<i32>) -> Self
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 get_start_percentage(&self) -> &Option<i32>
pub fn get_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, input: i32) -> Self
pub fn end_percentage(self, input: i32) -> Self
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.
sourcepub fn set_end_percentage(self, input: Option<i32>) -> Self
pub fn set_end_percentage(self, input: Option<i32>) -> Self
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.
sourcepub fn get_end_percentage(&self) -> &Option<i32>
pub fn get_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.
sourcepub fn first(self, input: i32) -> Self
pub fn first(self, input: i32) -> Self
The time, in percentage, 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<i32>) -> Self
pub fn set_first(self, input: Option<i32>) -> Self
The time, in percentage, 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<i32>
pub fn get_first(&self) -> &Option<i32>
The time, in percentage, 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: i32) -> Self
pub fn last(self, input: i32) -> Self
The time, in percentage, 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<i32>) -> Self
pub fn set_last(self, input: Option<i32>) -> Self
The time, in percentage, 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<i32>
pub fn get_last(&self) -> &Option<i32>
The time, in percentage, 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) -> RelativeTimeRange
pub fn build(self) -> RelativeTimeRange
Consumes the builder and constructs a RelativeTimeRange.
Trait Implementations§
source§impl Clone for RelativeTimeRangeBuilder
impl Clone for RelativeTimeRangeBuilder
source§fn clone(&self) -> RelativeTimeRangeBuilder
fn clone(&self) -> RelativeTimeRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RelativeTimeRangeBuilder
impl Debug for RelativeTimeRangeBuilder
source§impl Default for RelativeTimeRangeBuilder
impl Default for RelativeTimeRangeBuilder
source§fn default() -> RelativeTimeRangeBuilder
fn default() -> RelativeTimeRangeBuilder
source§impl PartialEq for RelativeTimeRangeBuilder
impl PartialEq for RelativeTimeRangeBuilder
source§fn eq(&self, other: &RelativeTimeRangeBuilder) -> bool
fn eq(&self, other: &RelativeTimeRangeBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RelativeTimeRangeBuilder
Auto Trait Implementations§
impl Freeze for RelativeTimeRangeBuilder
impl RefUnwindSafe for RelativeTimeRangeBuilder
impl Send for RelativeTimeRangeBuilder
impl Sync for RelativeTimeRangeBuilder
impl Unpin for RelativeTimeRangeBuilder
impl UnwindSafe for RelativeTimeRangeBuilder
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