pub struct VideoStatsContentDetails {
pub duration: Option<Duration>,
}Expand description
Details about the content of a YouTube Video. This is a subset of the information in VideoContentDetails specifically for the Videos.stats API.
This type is not used in any activity, and only used as part of another schema.
Fields§
§duration: Option<Duration>Output only. The length of the video. The property value is a google.protobuf.Duration object.
Trait Implementations§
Source§impl Clone for VideoStatsContentDetails
impl Clone for VideoStatsContentDetails
Source§fn clone(&self) -> VideoStatsContentDetails
fn clone(&self) -> VideoStatsContentDetails
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 VideoStatsContentDetails
impl Debug for VideoStatsContentDetails
Source§impl Default for VideoStatsContentDetails
impl Default for VideoStatsContentDetails
Source§fn default() -> VideoStatsContentDetails
fn default() -> VideoStatsContentDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoStatsContentDetails
impl<'de> Deserialize<'de> for VideoStatsContentDetails
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 Serialize for VideoStatsContentDetails
impl Serialize for VideoStatsContentDetails
impl Part for VideoStatsContentDetails
Auto Trait Implementations§
impl Freeze for VideoStatsContentDetails
impl RefUnwindSafe for VideoStatsContentDetails
impl Send for VideoStatsContentDetails
impl Sync for VideoStatsContentDetails
impl Unpin for VideoStatsContentDetails
impl UnwindSafe for VideoStatsContentDetails
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