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
detail endpoint 返回的相关视频稳定字段。
Fields§
§aid: AidAV 数字视频 ID。
bvid: BvidBV 字符串视频 ID。
title: String相关视频标题。
cid: Option<Cid>Bilibili 返回时的默认内容或分 P ID。
owner: Option<VideoOwner>存在时的 UP 主信息。
stat: Option<VideoStat>存在时的视频统计。
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