pub struct VideoMediaMetadata {
pub width: Option<i64>,
pub height: Option<i64>,
pub duration_millis: Option<String>,
}Expand description
Additional metadata about video media.
This may not be available immediately upon upload.
Fields§
§width: Option<i64>The width of the video in pixels.
height: Option<i64>The height of the video in pixels.
duration_millis: Option<String>The duration of the video in milliseconds.
Implementations§
Trait Implementations§
Source§impl Clone for VideoMediaMetadata
impl Clone for VideoMediaMetadata
Source§fn clone(&self) -> VideoMediaMetadata
fn clone(&self) -> VideoMediaMetadata
Returns a duplicate 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 VideoMediaMetadata
impl Debug for VideoMediaMetadata
Source§impl Default for VideoMediaMetadata
impl Default for VideoMediaMetadata
Source§fn default() -> VideoMediaMetadata
fn default() -> VideoMediaMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoMediaMetadata
impl<'de> Deserialize<'de> for VideoMediaMetadata
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 Display for VideoMediaMetadata
impl Display for VideoMediaMetadata
Auto Trait Implementations§
impl Freeze for VideoMediaMetadata
impl RefUnwindSafe for VideoMediaMetadata
impl Send for VideoMediaMetadata
impl Sync for VideoMediaMetadata
impl Unpin for VideoMediaMetadata
impl UnwindSafe for VideoMediaMetadata
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