pub struct GetSocialBilibiliVideoinfo200Response {Show 14 fields
pub bvid: Option<String>,
pub aid: Option<f64>,
pub videos: Option<f64>,
pub tname: Option<String>,
pub copyright: Option<f64>,
pub pic: Option<String>,
pub title: Option<String>,
pub pubdate: Option<f64>,
pub ctime: Option<f64>,
pub desc: Option<String>,
pub duration: Option<f64>,
pub owner: Option<Box<GetSocialBilibiliVideoinfo200ResponseOwner>>,
pub stat: Option<Box<GetSocialBilibiliVideoinfo200ResponseStat>>,
pub pages: Option<Vec<GetSocialBilibiliVideoinfo200ResponsePagesInner>>,
}Fields§
§bvid: Option<String>稿件的BV号。
aid: Option<f64>稿件的AV号。
videos: Option<f64>稿件分P总数。如果是单P视频,则为1。
tname: Option<String>视频所属的子分区名称。
copyright: Option<f64>视频类型。1代表原创,2代表转载。
pic: Option<String>稿件封面图片的URL。这是一个可以直接在网页上展示的链接。
title: Option<String>稿件的标题。
pubdate: Option<f64>稿件发布时间的Unix时间戳(秒)。
ctime: Option<f64>用户投稿时间的Unix时间戳(秒)。
desc: Option<String>视频简介。可能会包含HTML换行符。
duration: Option<f64>稿件总时长(所有分P累加),单位为秒。
owner: Option<Box<GetSocialBilibiliVideoinfo200ResponseOwner>>§stat: Option<Box<GetSocialBilibiliVideoinfo200ResponseStat>>§pages: Option<Vec<GetSocialBilibiliVideoinfo200ResponsePagesInner>>视频分P列表。即使是单P视频,该数组也包含一个元素。
Implementations§
Trait Implementations§
Source§impl Clone for GetSocialBilibiliVideoinfo200Response
impl Clone for GetSocialBilibiliVideoinfo200Response
Source§fn clone(&self) -> GetSocialBilibiliVideoinfo200Response
fn clone(&self) -> GetSocialBilibiliVideoinfo200Response
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 Default for GetSocialBilibiliVideoinfo200Response
impl Default for GetSocialBilibiliVideoinfo200Response
Source§fn default() -> GetSocialBilibiliVideoinfo200Response
fn default() -> GetSocialBilibiliVideoinfo200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSocialBilibiliVideoinfo200Response
impl<'de> Deserialize<'de> for GetSocialBilibiliVideoinfo200Response
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 PartialEq for GetSocialBilibiliVideoinfo200Response
impl PartialEq for GetSocialBilibiliVideoinfo200Response
Source§fn eq(&self, other: &GetSocialBilibiliVideoinfo200Response) -> bool
fn eq(&self, other: &GetSocialBilibiliVideoinfo200Response) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetSocialBilibiliVideoinfo200Response
Auto Trait Implementations§
impl Freeze for GetSocialBilibiliVideoinfo200Response
impl RefUnwindSafe for GetSocialBilibiliVideoinfo200Response
impl Send for GetSocialBilibiliVideoinfo200Response
impl Sync for GetSocialBilibiliVideoinfo200Response
impl Unpin for GetSocialBilibiliVideoinfo200Response
impl UnwindSafe for GetSocialBilibiliVideoinfo200Response
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