pub struct SubjectTag {
pub name: String,
pub count: u32,
pub total_cont: u32,
}Expand description
条目标签结构体,包含标签信息及统计数据
记录用户标记的标签及其相关计数
Fields§
§name: String标签名称
count: u32该标签的使用次数
total_cont: u32该标签的总贡献人数
Trait Implementations§
Source§impl Clone for SubjectTag
impl Clone for SubjectTag
Source§fn clone(&self) -> SubjectTag
fn clone(&self) -> SubjectTag
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 SubjectTag
impl Debug for SubjectTag
Source§impl<'de> Deserialize<'de> for SubjectTag
impl<'de> Deserialize<'de> for SubjectTag
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 SubjectTag
impl RefUnwindSafe for SubjectTag
impl Send for SubjectTag
impl Sync for SubjectTag
impl Unpin for SubjectTag
impl UnwindSafe for SubjectTag
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