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§
Source§impl Clone for DetectedProperties
impl Clone for DetectedProperties
Source§fn clone(&self) -> DetectedProperties
fn clone(&self) -> DetectedProperties
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DetectedProperties
impl Debug for DetectedProperties
Source§impl Default for DetectedProperties
impl Default for DetectedProperties
Source§fn default() -> DetectedProperties
fn default() -> DetectedProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetectedProperties
impl<'de> Deserialize<'de> for DetectedProperties
Source§fn 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
Source§impl PartialEq for DetectedProperties
impl PartialEq for DetectedProperties
Source§impl Serialize for DetectedProperties
impl Serialize for DetectedProperties
impl StructuralPartialEq for DetectedProperties
Auto Trait Implementations§
impl Freeze for DetectedProperties
impl RefUnwindSafe for DetectedProperties
impl Send for DetectedProperties
impl Sync for DetectedProperties
impl Unpin for DetectedProperties
impl UnwindSafe for DetectedProperties
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
Mutably borrows from an owned value. Read more