pub struct VideoStat {
pub aid: Aid,
pub view: u64,
pub danmaku: u64,
pub reply: u64,
pub favorite: Option<u64>,
pub fav: Option<u64>,
pub coin: u64,
pub share: u64,
pub like: u64,
}Expand description
Stable statistic fields returned by the video view endpoint.
Fields§
§aid: AidAV numeric video ID.
view: u64View count.
danmaku: u64Danmaku count.
reply: u64Reply count.
favorite: Option<u64>Favorite count on newer payloads.
fav: Option<u64>Favorite count alias observed on some payloads.
coin: u64Coin count.
Share count.
like: u64Like count.
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
Auto Trait Implementations§
impl Freeze for VideoStat
impl RefUnwindSafe for VideoStat
impl Send for VideoStat
impl Sync for VideoStat
impl Unpin for VideoStat
impl UnsafeUnpin 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