pub struct DynamicNavItem {
pub author: DynamicNavAuthor,
pub cover: String,
pub id_str: String,
pub pub_time: String,
pub rid: u64,
pub title: String,
pub type_num: u8,
pub visible: bool,
}
Expand description
导航栏动态列表项
Fields§
UP 主信息
cover: String
封面 URL
id_str: String
动态 ID 字符串
pub_time: String
发布时间(文字表述的相对时间)
rid: u64
关联 ID,视频即 aid
title: String
标题
type_num: u8
动态类型,8 表示视频
visible: bool
是否可见
Trait Implementations§
Source§fn clone(&self) -> DynamicNavItem
fn clone(&self) -> DynamicNavItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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§
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