pub struct DetectedProperties {
pub duration_millis: Option<i64>,
pub file_size: Option<i64>,
pub frame_rate: Option<String>,
pub height: Option<i64>,
pub width: Option<i64>,
}
Expand description
The detected properties of the input file. Elastic Transcoder identifies these values from the input file.
Fields
duration_millis: Option<i64>
The detected duration of the input file, in milliseconds.
file_size: Option<i64>
The detected file size of the input file, in bytes.
frame_rate: Option<String>
The detected frame rate of the input file, in frames per second.
height: Option<i64>
The detected height of the input file, in pixels.
width: Option<i64>
The detected width of the input file, in pixels.
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 Default for DetectedProperties
impl Default for DetectedProperties
sourcefn default() -> DetectedProperties
fn default() -> DetectedProperties
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DetectedProperties
impl<'de> Deserialize<'de> for DetectedProperties
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 !=
.
sourceimpl Serialize for DetectedProperties
impl Serialize for DetectedProperties
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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