pub struct VideoDetail {
pub view: VideoView,
pub tags: Vec<VideoTag>,
pub related: Vec<VideoRelated>,
pub card: Option<Value>,
pub reply: Option<Value>,
}Expand description
/x/web-interface/view/detail 返回的载荷。
Fields§
§view: VideoView主视频 view 载荷。
视频关联标签。
Bilibili 推荐场景返回的相关视频。
card: Option<Value>UP 主卡片和空间数据。该载荷偏展示用途,因此保留原始值。
reply: Option<Value>评论预览数据。它会随评论场景实验变化,因此保留原始值。
Trait Implementations§
Source§impl Clone for VideoDetail
impl Clone for VideoDetail
Source§fn clone(&self) -> VideoDetail
fn clone(&self) -> VideoDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VideoDetail
impl Debug for VideoDetail
Source§impl<'de> Deserialize<'de> for VideoDetail
impl<'de> Deserialize<'de> for VideoDetail
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 VideoDetail
impl RefUnwindSafe for VideoDetail
impl Send for VideoDetail
impl Sync for VideoDetail
impl Unpin for VideoDetail
impl UnsafeUnpin for VideoDetail
impl UnwindSafe for VideoDetail
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