pub struct ArticleInfoData {Show 23 fields
pub like: i32,
pub attention: bool,
pub favorite: bool,
pub coin: i32,
pub stats: ArticleStats,
pub title: String,
pub banner_url: String,
pub mid: i64,
pub author_name: String,
pub is_author: bool,
pub image_urls: Vec<String>,
pub origin_image_urls: Vec<String>,
pub shareable: bool,
pub show_later_watch: bool,
pub show_small_window: bool,
pub in_list: bool,
pub pre: i64,
pub next: i64,
pub share_channels: Vec<ShareChannel>,
pub type: i32,
pub video_url: String,
pub location: String,
pub disable_share: bool,
}Expand description
专栏基本信息数据
Fields§
§like: i32是否点赞 0:未点赞 1:已点赞 需要登录(Cookie) 未登录为0
attention: bool是否关注文章作者 false:未关注 true:已关注 需要登录(Cookie) 未登录为false
favorite: bool是否收藏 false:未收藏 true:已收藏 需要登录(Cookie) 未登录为false
coin: i32为文章投币数
stats: ArticleStats状态数信息
title: String文章标题
文章头图url
mid: i64文章作者mid
文章作者昵称
true 作用尚不明确
image_urls: Vec<String>动态封面
origin_image_urls: Vec<String>封面图片
true 作用尚不明确
show_later_watch: booltrue 作用尚不明确
show_small_window: booltrue 作用尚不明确
in_list: bool是否收于文集 false:否 true:是
pre: i64上一篇文章cvid 无为0
next: i64下一篇文章cvid 无为0
分享方式列表
type: i32文章类别 0:文章 2:笔记
video_url: String视频URL
location: String位置信息
是否禁用分享
Trait Implementations§
Source§impl Clone for ArticleInfoData
impl Clone for ArticleInfoData
Source§fn clone(&self) -> ArticleInfoData
fn clone(&self) -> ArticleInfoData
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§impl Debug for ArticleInfoData
impl Debug for ArticleInfoData
Source§impl<'de> Deserialize<'de> for ArticleInfoData
impl<'de> Deserialize<'de> for ArticleInfoData
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 ArticleInfoData
impl RefUnwindSafe for ArticleInfoData
impl Send for ArticleInfoData
impl Sync for ArticleInfoData
impl Unpin for ArticleInfoData
impl UnwindSafe for ArticleInfoData
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