Struct google_youtube3::api::VideoStatistics
source · pub struct VideoStatistics {
pub comment_count: Option<u64>,
pub dislike_count: Option<u64>,
pub favorite_count: Option<u64>,
pub like_count: Option<u64>,
pub view_count: Option<u64>,
}
Expand description
Statistics about the video, such as the number of times the video was viewed or liked.
This type is not used in any activity, and only used as part of another schema.
Fields§
§comment_count: Option<u64>
The number of comments for the video.
dislike_count: Option<u64>
The number of users who have indicated that they disliked the video by giving it a negative rating.
favorite_count: Option<u64>
The number of users who currently have the video marked as a favorite video.
like_count: Option<u64>
The number of users who have indicated that they liked the video by giving it a positive rating.
view_count: Option<u64>
The number of times the video has been viewed.
Trait Implementations§
source§impl Clone for VideoStatistics
impl Clone for VideoStatistics
source§fn clone(&self) -> VideoStatistics
fn clone(&self) -> VideoStatistics
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 VideoStatistics
impl Debug for VideoStatistics
source§impl Default for VideoStatistics
impl Default for VideoStatistics
source§fn default() -> VideoStatistics
fn default() -> VideoStatistics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoStatistics
impl<'de> Deserialize<'de> for VideoStatistics
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 VideoStatistics
impl Serialize for VideoStatistics
impl Part for VideoStatistics
Auto Trait Implementations§
impl RefUnwindSafe for VideoStatistics
impl Send for VideoStatistics
impl Sync for VideoStatistics
impl Unpin for VideoStatistics
impl UnwindSafe for VideoStatistics
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