#[non_exhaustive]pub struct DetectedProperties {
pub width: Option<i32>,
pub height: Option<i32>,
pub frame_rate: Option<String>,
pub file_size: Option<i64>,
pub duration_millis: Option<i64>,
}
Expand description
The detected properties of the input file. Elastic Transcoder identifies these values from the input file.
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.width: Option<i32>
The detected width of the input file, in pixels.
height: Option<i32>
The detected height of the input file, in pixels.
frame_rate: Option<String>
The detected frame rate of the input file, in frames per second.
file_size: Option<i64>
The detected file size of the input file, in bytes.
duration_millis: Option<i64>
The detected duration of the input file, in milliseconds.
Implementations
sourceimpl DetectedProperties
impl DetectedProperties
sourcepub fn frame_rate(&self) -> Option<&str>
pub fn frame_rate(&self) -> Option<&str>
The detected frame rate of the input file, in frames per second.
sourcepub fn duration_millis(&self) -> Option<i64>
pub fn duration_millis(&self) -> Option<i64>
The detected duration of the input file, in milliseconds.
sourceimpl DetectedProperties
impl DetectedProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectedProperties
.
Trait Implementations
sourceimpl Clone for DetectedProperties
impl Clone for DetectedProperties
sourcefn clone(&self) -> DetectedProperties
fn clone(&self) -> DetectedProperties
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 DetectedProperties
impl Debug for DetectedProperties
sourceimpl PartialEq<DetectedProperties> for DetectedProperties
impl PartialEq<DetectedProperties> for DetectedProperties
sourcefn eq(&self, other: &DetectedProperties) -> bool
fn eq(&self, other: &DetectedProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DetectedProperties) -> bool
fn ne(&self, other: &DetectedProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for DetectedProperties
Auto Trait Implementations
impl RefUnwindSafe for DetectedProperties
impl Send for DetectedProperties
impl Sync for DetectedProperties
impl Unpin for DetectedProperties
impl UnwindSafe for DetectedProperties
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