Struct google_youtube3::api::VideoFileDetailsVideoStream
source · pub struct VideoFileDetailsVideoStream {
pub aspect_ratio: Option<f64>,
pub bitrate_bps: Option<u64>,
pub codec: Option<String>,
pub frame_rate_fps: Option<f64>,
pub height_pixels: Option<u32>,
pub rotation: Option<String>,
pub vendor: Option<String>,
pub width_pixels: Option<u32>,
}
Expand description
Information about a video stream.
This type is not used in any activity, and only used as part of another schema.
Fields§
§aspect_ratio: Option<f64>
The video content’s display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
bitrate_bps: Option<u64>
The video stream’s bitrate, in bits per second.
codec: Option<String>
The video codec that the stream uses.
frame_rate_fps: Option<f64>
The video stream’s frame rate, in frames per second.
height_pixels: Option<u32>
The encoded video content’s height in pixels.
rotation: Option<String>
The amount that YouTube needs to rotate the original source content to properly display the video.
vendor: Option<String>
A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
width_pixels: Option<u32>
The encoded video content’s width in pixels. You can calculate the video’s encoding aspect ratio as width_pixels / height_pixels.
Trait Implementations§
source§impl Clone for VideoFileDetailsVideoStream
impl Clone for VideoFileDetailsVideoStream
source§fn clone(&self) -> VideoFileDetailsVideoStream
fn clone(&self) -> VideoFileDetailsVideoStream
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 VideoFileDetailsVideoStream
impl Debug for VideoFileDetailsVideoStream
source§impl Default for VideoFileDetailsVideoStream
impl Default for VideoFileDetailsVideoStream
source§fn default() -> VideoFileDetailsVideoStream
fn default() -> VideoFileDetailsVideoStream
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoFileDetailsVideoStream
impl<'de> Deserialize<'de> for VideoFileDetailsVideoStream
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 VideoFileDetailsVideoStream
Auto Trait Implementations§
impl RefUnwindSafe for VideoFileDetailsVideoStream
impl Send for VideoFileDetailsVideoStream
impl Sync for VideoFileDetailsVideoStream
impl Unpin for VideoFileDetailsVideoStream
impl UnwindSafe for VideoFileDetailsVideoStream
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