pub struct VideoStat {
pub content_details: Option<VideoStatsContentDetails>,
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub snippet: Option<VideoStatsSnippet>,
pub statistics: Option<VideoStatsStatistics>,
}Expand description
A VideoStat resource represents a YouTube video’s stats.
This type is not used in any activity, and only used as part of another schema.
Fields§
§content_details: Option<VideoStatsContentDetails>Output only. The VideoStatsContentDetails object contains information about the video content, including the length of the video.
etag: Option<String>Output only. Etag of this resource.
id: Option<String>Output only. The ID that YouTube uses to uniquely identify the video.
kind: Option<String>Output only. Identifies what kind of resource this is. Value: the fixed string “youtube#videoStats”.
snippet: Option<VideoStatsSnippet>Output only. The VideoStatsSnippet object contains basic details about the video, such publish time.
statistics: Option<VideoStatsStatistics>Output only. The VideoStatsStatistics object contains statistics about the video.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VideoStat
impl<'de> Deserialize<'de> for VideoStat
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 VideoStat
Auto Trait Implementations§
impl Freeze for VideoStat
impl RefUnwindSafe for VideoStat
impl Send for VideoStat
impl Sync for VideoStat
impl Unpin for VideoStat
impl UnwindSafe for VideoStat
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