pub struct VideoDetail {
pub view: VideoView,
pub tags: Vec<VideoTag>,
pub related: Vec<VideoRelated>,
pub card: Option<Value>,
pub reply: Option<Value>,
}Expand description
Payload returned by /x/web-interface/view/detail.
Fields§
§view: VideoViewMain video view payload.
Tags associated with the video.
Related videos returned by Bilibili’s recommendation surface.
card: Option<Value>Uploader card and space data. Kept raw because this is a display-oriented payload.
reply: Option<Value>Reply preview data. Kept raw because it changes with comment surface experiments.
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