pub struct VideoFileDetails {
pub audio_streams: Option<Vec<VideoFileDetailsAudioStream>>,
pub bitrate_bps: Option<u64>,
pub container: Option<String>,
pub creation_time: Option<String>,
pub duration_ms: Option<u64>,
pub file_name: Option<String>,
pub file_size: Option<u64>,
pub file_type: Option<String>,
pub video_streams: Option<Vec<VideoFileDetailsVideoStream>>,
}
Expand description
Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§audio_streams: Option<Vec<VideoFileDetailsAudioStream>>
A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
bitrate_bps: Option<u64>
The uploaded video file’s combined (video and audio) bitrate in bits per second.
container: Option<String>
The uploaded video file’s container format.
creation_time: Option<String>
The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
duration_ms: Option<u64>
The length of the uploaded video in milliseconds.
file_name: Option<String>
The uploaded file’s name. This field is present whether a video file or another type of file was uploaded.
file_size: Option<u64>
The uploaded file’s size in bytes. This field is present whether a video file or another type of file was uploaded.
file_type: Option<String>
The uploaded file’s type as detected by YouTube’s video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
video_streams: Option<Vec<VideoFileDetailsVideoStream>>
A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
Trait Implementations§
Source§impl Clone for VideoFileDetails
impl Clone for VideoFileDetails
Source§fn clone(&self) -> VideoFileDetails
fn clone(&self) -> VideoFileDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for VideoFileDetails
impl Debug for VideoFileDetails
Source§impl Default for VideoFileDetails
impl Default for VideoFileDetails
Source§fn default() -> VideoFileDetails
fn default() -> VideoFileDetails
Source§impl<'de> Deserialize<'de> for VideoFileDetails
impl<'de> Deserialize<'de> for VideoFileDetails
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>,
Source§impl Serialize for VideoFileDetails
impl Serialize for VideoFileDetails
impl Part for VideoFileDetails
Auto Trait Implementations§
impl Freeze for VideoFileDetails
impl RefUnwindSafe for VideoFileDetails
impl Send for VideoFileDetails
impl Sync for VideoFileDetails
impl Unpin for VideoFileDetails
impl UnwindSafe for VideoFileDetails
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> 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>
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