Struct google_youtube3::api::VideoFileDetails
source · 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 more