pub struct VideoRelated {
pub aid: Aid,
pub bvid: Bvid,
pub title: String,
pub cid: Option<Cid>,
pub owner: Option<VideoOwner>,
pub stat: Option<VideoStat>,
}Expand description
Stable fields for a related video returned by the detail endpoint.
Fields§
§aid: AidAV numeric video ID.
bvid: BvidBV string video ID.
title: StringRelated video title.
cid: Option<Cid>Default content/page ID when Bilibili returns it.
owner: Option<VideoOwner>Uploader information when present.
stat: Option<VideoStat>Video statistics when present.
Trait Implementations§
Source§impl Clone for VideoRelated
impl Clone for VideoRelated
Source§fn clone(&self) -> VideoRelated
fn clone(&self) -> VideoRelated
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 VideoRelated
impl Debug for VideoRelated
Source§impl<'de> Deserialize<'de> for VideoRelated
impl<'de> Deserialize<'de> for VideoRelated
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 VideoRelated
impl RefUnwindSafe for VideoRelated
impl Send for VideoRelated
impl Sync for VideoRelated
impl Unpin for VideoRelated
impl UnsafeUnpin for VideoRelated
impl UnwindSafe for VideoRelated
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