pub struct ArticleTag {Show 19 fields
pub oId: String,
pub title: String,
pub description: String,
pub iconPath: String,
pub uri: String,
pub diyCSS: String,
pub badCnt: u64,
pub commentCnt: u32,
pub followerCnt: u32,
pub goodCnt: u64,
pub referenceCnt: u32,
pub linkCnt: u32,
pub seoDesc: String,
pub seoKeywords: String,
pub seoTitle: String,
pub tagAd: String,
pub showSideAd: u32,
pub status: u32,
pub randomDouble: f64,
}Expand description
文章标签
Fields§
§oId: String标签 id
title: String标签名
description: String标签描述
iconPath: Stringicon 地址
uri: String标签地址
diyCSS: String标签自定义 CSS
badCnt: u64反对数
commentCnt: u32标签回帖计数
followerCnt: u32关注数
goodCnt: u64点赞数
referenceCnt: u32引用计数
linkCnt: u32标签相关链接计数
seoDesc: String标签 SEO 描述
seoKeywords: String标签关键字
seoTitle: String标签 SEO 标题
tagAd: String标签广告内容
showSideAd: u32是否展示广告
status: u32标签状态
randomDouble: f64标签随机数
Implementations§
Source§impl ArticleTag
impl ArticleTag
pub fn from_value(data: &Value) -> Result<Self, Error>
Trait Implementations§
Source§impl Clone for ArticleTag
impl Clone for ArticleTag
Source§fn clone(&self) -> ArticleTag
fn clone(&self) -> ArticleTag
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 ArticleTag
impl Debug for ArticleTag
Source§impl<'de> Deserialize<'de> for ArticleTag
impl<'de> Deserialize<'de> for ArticleTag
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 ArticleTag
impl RefUnwindSafe for ArticleTag
impl Send for ArticleTag
impl Sync for ArticleTag
impl Unpin for ArticleTag
impl UnsafeUnpin for ArticleTag
impl UnwindSafe for ArticleTag
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