pub struct VideoCard {Show 21 fields
pub aid: i64,
pub bvid: String,
pub cid: i64,
pub copyright: i32,
pub pic: String,
pub ctime: i64,
pub desc: String,
pub dimension: VideoDimension,
pub duration: i64,
pub dynamic: String,
pub owner: VideoOwner,
pub pubdate: i64,
pub rights: VideoRights,
pub short_link_v2: String,
pub stat: VideoStat,
pub state: i32,
pub tid: i32,
pub title: String,
pub tname: String,
pub videos: i32,
pub vt_switch: bool,
}Expand description
视频卡片
Fields§
§aid: i64视频aid
bvid: String视频bvid
cid: i64视频cid
copyright: i32版权信息
pic: String封面图片
ctime: i64创建时间
desc: String视频描述
dimension: VideoDimension视频尺寸信息
duration: i64视频时长
dynamic: String动态内容
owner: VideoOwnerUP主信息
pubdate: i64发布时间
rights: VideoRights视频权限
short_link_v2: String短链接
stat: VideoStat视频统计信息
state: i32视频状态
tid: i32分区ID
title: String视频标题
tname: String分区名称
videos: i32分P数量
vt_switch: boolVT开关
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VideoCard
impl<'de> Deserialize<'de> for VideoCard
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 VideoCard
impl RefUnwindSafe for VideoCard
impl Send for VideoCard
impl Sync for VideoCard
impl Unpin for VideoCard
impl UnwindSafe for VideoCard
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