pub struct CollectionStats {
pub wish: Option<u32>,
pub collect: Option<u32>,
pub doing: Option<u32>,
pub on_hold: Option<u32>,
pub dropped: Option<u32>,
}Expand description
收藏状态统计信息
包含不同收藏状态的数量统计,用于展示条目或内容的收藏分布情况
Fields§
§wish: Option<u32>“想看“状态的数量
collect: Option<u32>“已收藏“状态的数量
doing: Option<u32>“在看“状态的数量
on_hold: Option<u32>“搁置“状态的数量
dropped: Option<u32>“抛弃“状态的数量
Trait Implementations§
Source§impl Clone for CollectionStats
impl Clone for CollectionStats
Source§fn clone(&self) -> CollectionStats
fn clone(&self) -> CollectionStats
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 CollectionStats
impl Debug for CollectionStats
Source§impl<'de> Deserialize<'de> for CollectionStats
impl<'de> Deserialize<'de> for CollectionStats
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 CollectionStats
impl RefUnwindSafe for CollectionStats
impl Send for CollectionStats
impl Sync for CollectionStats
impl Unpin for CollectionStats
impl UnwindSafe for CollectionStats
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