pub struct Transcode {
pub audio_bit_rate_kbps: Option<i64>,
pub audio_sample_rate_hz: Option<i64>,
pub bit_rate_kbps: Option<i64>,
pub dimensions: Option<Dimensions>,
pub file_size_bytes: Option<i64>,
pub frame_rate: Option<f32>,
pub mime_type: Option<String>,
pub name: Option<String>,
pub transcoded: Option<bool>,
}
Expand description
Represents information about the transcoded audio or video file.
This type is not used in any activity, and only used as part of another schema.
Fields§
§audio_bit_rate_kbps: Option<i64>
The bit rate for the audio stream of the transcoded video, or the bit rate for the transcoded audio, in kilobits per second.
audio_sample_rate_hz: Option<i64>
The sample rate for the audio stream of the transcoded video, or the sample rate for the transcoded audio, in hertz.
bit_rate_kbps: Option<i64>
The transcoding bit rate of the transcoded video, in kilobits per second.
dimensions: Option<Dimensions>
The dimensions of the transcoded video.
file_size_bytes: Option<i64>
The size of the transcoded file, in bytes.
frame_rate: Option<f32>
The frame rate of the transcoded video, in frames per second.
mime_type: Option<String>
The MIME type of the transcoded file.
name: Option<String>
The name of the transcoded file.
transcoded: Option<bool>
Indicates if the transcoding was successful.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Transcode
impl<'de> Deserialize<'de> for Transcode
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
impl Part for Transcode
Auto Trait Implementations§
impl Freeze for Transcode
impl RefUnwindSafe for Transcode
impl Send for Transcode
impl Sync for Transcode
impl Unpin for Transcode
impl UnwindSafe for Transcode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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