pub struct VideoData {Show 47 fields
pub aid: u64,
pub bvid: String,
pub videos: u32,
pub tid: u32,
pub tid_v2: u32,
pub tname: String,
pub tname_v2: String,
pub copyright: u8,
pub pic: String,
pub title: String,
pub pubdate: u64,
pub ctime: u64,
pub desc: String,
pub desc_v2: Option<Vec<Value>>,
pub state: u32,
pub duration: u64,
pub forward: u64,
pub mission_id: Option<u64>,
pub redirect_url: String,
pub rights: Rights,
pub owner: Owner,
pub stat: Stat,
pub argue_info: ArgueInfo,
pub dynamic: String,
pub cid: u64,
pub dimension: Dimension,
pub premiere: Value,
pub teenage_mode: u8,
pub is_chargeable_season: bool,
pub is_story: bool,
pub is_upower_exclusive: bool,
pub is_upower_play: bool,
pub is_upower_preview: bool,
pub no_cache: bool,
pub pages: Vec<Page>,
pub subtitle: Subtitle,
pub ugc_season: Option<UgcSeason>,
pub staff: Vec<StaffItem>,
pub is_season_display: bool,
pub user_garb: UserGarb,
pub honor_reply: Value,
pub like_icon: String,
pub need_jump_bv: bool,
pub disable_show_up_info: bool,
pub is_story_play: u32,
pub is_view_self: bool,
pub is_upower_exclusive_with_qa: bool,
}Expand description
video data完整结构体
Fields§
§aid: u64§bvid: String§videos: u32§tid: u32§tid_v2: u32§tname: String§tname_v2: String§copyright: u8§pic: String§title: String§pubdate: u64§ctime: u64§desc: String§desc_v2: Option<Vec<Value>>§state: u32§duration: u64§forward: u64§mission_id: Option<u64>§redirect_url: String§rights: Rights§owner: Owner§stat: Stat§argue_info: ArgueInfo§dynamic: String§cid: u64§dimension: Dimension§premiere: Value§teenage_mode: u8§is_chargeable_season: bool§is_story: bool§is_upower_exclusive: bool§is_upower_play: bool§is_upower_preview: bool§no_cache: bool§pages: Vec<Page>§subtitle: Subtitle§ugc_season: Option<UgcSeason>§staff: Vec<StaffItem>§is_season_display: bool§user_garb: UserGarb§honor_reply: Value§like_icon: String§need_jump_bv: bool§disable_show_up_info: bool§is_story_play: u32§is_view_self: bool§is_upower_exclusive_with_qa: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for VideoData
impl<'de> Deserialize<'de> for VideoData
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 VideoData
impl RefUnwindSafe for VideoData
impl Send for VideoData
impl Sync for VideoData
impl Unpin for VideoData
impl UnsafeUnpin for VideoData
impl UnwindSafe for VideoData
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