#[non_exhaustive]pub struct CaptionSourceFramerate {
pub framerate_denominator: Option<i32>,
pub framerate_numerator: Option<i32>,
}
Expand description
Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction. For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.
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.framerate_denominator: Option<i32>
Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate numerator.
framerate_numerator: Option<i32>
Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate denominator.
Implementations§
source§impl CaptionSourceFramerate
impl CaptionSourceFramerate
sourcepub fn framerate_denominator(&self) -> Option<i32>
pub fn framerate_denominator(&self) -> Option<i32>
Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate numerator.
sourcepub fn framerate_numerator(&self) -> Option<i32>
pub fn framerate_numerator(&self) -> Option<i32>
Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate denominator.
source§impl CaptionSourceFramerate
impl CaptionSourceFramerate
sourcepub fn builder() -> CaptionSourceFramerateBuilder
pub fn builder() -> CaptionSourceFramerateBuilder
Creates a new builder-style object to manufacture CaptionSourceFramerate
.
Trait Implementations§
source§impl Clone for CaptionSourceFramerate
impl Clone for CaptionSourceFramerate
source§fn clone(&self) -> CaptionSourceFramerate
fn clone(&self) -> CaptionSourceFramerate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CaptionSourceFramerate
impl Debug for CaptionSourceFramerate
source§impl PartialEq for CaptionSourceFramerate
impl PartialEq for CaptionSourceFramerate
source§fn eq(&self, other: &CaptionSourceFramerate) -> bool
fn eq(&self, other: &CaptionSourceFramerate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptionSourceFramerate
Auto Trait Implementations§
impl Freeze for CaptionSourceFramerate
impl RefUnwindSafe for CaptionSourceFramerate
impl Send for CaptionSourceFramerate
impl Sync for CaptionSourceFramerate
impl Unpin for CaptionSourceFramerate
impl UnwindSafe for CaptionSourceFramerate
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